test4
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -24,18 +24,18 @@ pipeline {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
steps {
|
steps {
|
||||||
script {
|
// script {
|
||||||
env.AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
|
def AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
|
||||||
// RootCA = AskCerts[rootca]
|
// RootCA = AskCerts[rootca]
|
||||||
sh 'echo ${AskCerts[0]} | base64 -d > roles/rproxy/files/RootCA.crt'
|
sh 'echo ${AskCerts["rootca"]} | base64 -d > roles/rproxy/files/RootCA.crt'
|
||||||
sh 'cat roles/rproxy/files/RootCA.crt'
|
sh 'cat roles/rproxy/files/RootCA.crt'
|
||||||
|
|
||||||
// def rootca_key = AskCerts['rootca_key']
|
// def rootca_key = AskCerts['rootca_key']
|
||||||
|
|
||||||
|
|
||||||
// sh 'echo "${ask_for_certs["rootca"]}" > roles/rproxy/files/RootCA.crt'
|
// 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_key"]}" > roles/rproxy/files/RootCA.key'
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Install Rproxy') {
|
stage('Install Rproxy') {
|
||||||
|
|||||||
Reference in New Issue
Block a user