ssl_repo #20
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -23,12 +23,12 @@ pipeline {
|
||||
// return params.rproxy_install
|
||||
// }
|
||||
// }
|
||||
steps {
|
||||
// steps {
|
||||
// script {
|
||||
def AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
|
||||
// RootCA = AskCerts[rootca]
|
||||
sh 'echo ${AskCerts["rootca"]} | base64 -d > roles/rproxy/files/RootCA.crt'
|
||||
sh 'cat roles/rproxy/files/RootCA.crt'
|
||||
def AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
|
||||
// RootCA = AskCerts[rootca]
|
||||
sh 'echo ${AskCerts["rootca"]} | base64 -d > roles/rproxy/files/RootCA.crt'
|
||||
sh 'cat roles/rproxy/files/RootCA.crt'
|
||||
|
||||
// def rootca_key = AskCerts['rootca_key']
|
||||
|
||||
@@ -36,7 +36,7 @@ pipeline {
|
||||
// sh 'echo "${ask_for_certs["rootca"]}" > roles/rproxy/files/RootCA.crt'
|
||||
// sh 'echo "${ask_for_certs["rootca_key"]}" > roles/rproxy/files/RootCA.key'
|
||||
// }
|
||||
}
|
||||
// }
|
||||
}
|
||||
stage('Install Rproxy') {
|
||||
when {
|
||||
|
||||
Reference in New Issue
Block a user