try another

This commit is contained in:
mpavlov
2024-09-29 15:19:58 +03:00
parent dd25db5776
commit d188b87171

4
Jenkinsfile vendored
View File

@@ -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'
}
}