test2
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -26,7 +26,13 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
env.AskCerts = input message: 'Upload RootCA certificate and key', parameters: [base64File(name: 'rootca'), base64File(name: 'rootca_key')]
|
||||
sh 'echo "${rootca}"'
|
||||
def rootca = AskCerts['rootca']
|
||||
sh 'echo ${rootca} | base64 -d > roles/rproxy/files/RootCA.crt'
|
||||
sh 'cat roles/rproxy/files/RootCA.crt'
|
||||
|
||||
// def rootca_key = AskCerts['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