dev #22
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@@ -18,16 +18,17 @@ pipeline {
|
||||
}
|
||||
stages {
|
||||
stage('Save certs') {
|
||||
when {
|
||||
expression {
|
||||
return params.rproxy_install
|
||||
}
|
||||
}
|
||||
// when {
|
||||
// expression {
|
||||
// return params.rproxy_install
|
||||
// }
|
||||
// }
|
||||
steps {
|
||||
script {
|
||||
def ask_for_certs = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: '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'
|
||||
sh 'echo "${ask_for_certs["rootca"]}"'
|
||||
// sh 'echo "${ask_for_certs["rootca"]}" > roles/rproxy/files/RootCA.crt'
|
||||
// sh 'echo "${ask_for_certs["rootca_key"]}" > roles/rproxy/files/RootCA.key'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user