From d188b87171abe0aaba8b4aca294e2bcca8c2838c Mon Sep 17 00:00:00 2001 From: mpavlov Date: Sun, 29 Sep 2024 15:19:58 +0300 Subject: [PATCH] try another --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cc4866b..637149e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,9 +26,9 @@ pipeline { steps { script { def ask_for_certs = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')] - def rootca = readFile params.rootca + def rootca = readFile ask_for_certs["rootca"] sh 'mv ${rootca} roles/rproxy/files/RootCA.crt' - def rootca_key = readFile params.rootca_key + def rootca_key = readFile ask_for_certs["rootca_key"] sh 'mv ${rootca_key} roles/rproxy/files/RootCA.key' } }