From cdcc7705929091177fe09b2327f79ab95ffb159f Mon Sep 17 00:00:00 2001 From: mpavlov Date: Thu, 3 Oct 2024 20:47:00 +0300 Subject: [PATCH] moved to stage --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e667665..c19525b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,12 +23,12 @@ pipeline { // return params.rproxy_install // } // } - steps { + // steps { // 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 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'] @@ -36,7 +36,7 @@ pipeline { // 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') { when {