dev #22

Merged
mpavlov merged 28 commits from dev into master 2024-10-04 00:59:30 +03:00
2 changed files with 10 additions and 8 deletions
Showing only changes of commit 2dda5259cc - Show all commits

11
Jenkinsfile vendored
View File

@@ -18,17 +18,16 @@ pipeline {
} }
stages { stages {
stage('Save certs') { stage('Save certs') {
// when { when {
// expression { expression {
// return params.rproxy_install return params.rproxy_install
// } }
// } }
steps { steps {
script { script {
def userInput = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')] def userInput = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
writeFile(file: 'roles/rproxy/files/RootCA.crt', text: new String(userInput['rootca'].decodeBase64())) writeFile(file: 'roles/rproxy/files/RootCA.crt', text: new String(userInput['rootca'].decodeBase64()))
writeFile(file: 'roles/rproxy/files/RootCA.key', text: new String(userInput['rootca_key'].decodeBase64())) writeFile(file: 'roles/rproxy/files/RootCA.key', text: new String(userInput['rootca_key'].decodeBase64()))
sh 'cat roles/rproxy/files/RootCA.crt'
} }
} }
} }