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