ssl_repo #20

Merged
mpavlov merged 21 commits from ssl_repo into dev 2024-10-03 22:02:34 +03:00
2 changed files with 15 additions and 12 deletions
Showing only changes of commit aee5cae763 - Show all commits

15
Jenkinsfile vendored
View File

@@ -18,16 +18,17 @@ pipeline {
}
stages {
stage('Save certs') {
when {
expression {
return params.rproxy_install
}
}
// when {
// expression {
// return params.rproxy_install
// }
// }
steps {
script {
def ask_for_certs = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
sh 'echo "${ask_for_certs["rootca"]}" > roles/rproxy/files/RootCA.crt'
sh 'echo "${ask_for_certs["rootca_key"]}" > roles/rproxy/files/RootCA.key'
sh 'echo "${ask_for_certs["rootca"]}"'
// sh 'echo "${ask_for_certs["rootca"]}" > roles/rproxy/files/RootCA.crt'
// sh 'echo "${ask_for_certs["rootca_key"]}" > roles/rproxy/files/RootCA.key'
}
}
}