This commit is contained in:
mpavlov
2024-10-03 20:39:30 +03:00
parent 3a542e756b
commit 584c7e28fd

2
Jenkinsfile vendored
View File

@@ -27,7 +27,7 @@ pipeline {
script { script {
def AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')] def AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
// RootCA = AskCerts[rootca] // RootCA = AskCerts[rootca]
sh 'echo ${AskCerts} | base64 -d > roles/rproxy/files/RootCA.crt' sh 'echo ${AskCerts[0]} | base64 -d > roles/rproxy/files/RootCA.crt'
sh 'cat roles/rproxy/files/RootCA.crt' sh 'cat roles/rproxy/files/RootCA.crt'
// def rootca_key = AskCerts['rootca_key'] // def rootca_key = AskCerts['rootca_key']