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