From a7ef0350b9035c9bfe86440b9c458bc5097971e3 Mon Sep 17 00:00:00 2001 From: mpavlov Date: Thu, 3 Oct 2024 20:45:22 +0300 Subject: [PATCH] test4 --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 95780b4..e667665 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {