diff --git a/Jenkinsfile b/Jenkinsfile index a9629f0..cc4866b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,11 +26,9 @@ pipeline { steps { script { def ask_for_certs = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')] - } - withFileParameter('rootca') { + def rootca = readFile params.rootca sh 'mv ${rootca} roles/rproxy/files/RootCA.crt' - } - withFileParameter('rootca_key') { + def rootca_key = readFile params.rootca_key sh 'mv ${rootca_key} roles/rproxy/files/RootCA.key' } }