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 24 additions and 15 deletions
Showing only changes of commit a7ef0350b9 - Show all commits

12
Jenkinsfile vendored
View File

@@ -24,18 +24,18 @@ pipeline {
// }
// }
steps {
script {
env.AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
// RootCA = AskCerts[rootca]
sh 'echo ${AskCerts[0]} | base64 -d > roles/rproxy/files/RootCA.crt'
sh 'cat roles/rproxy/files/RootCA.crt'
// script {
def AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
// RootCA = AskCerts[rootca]
sh 'echo ${AskCerts["rootca"]} | base64 -d > roles/rproxy/files/RootCA.crt'
sh 'cat roles/rproxy/files/RootCA.crt'
// def rootca_key = AskCerts['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'
}
// }
}
}
stage('Install Rproxy') {