added script block
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -24,14 +24,15 @@ pipeline {
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
def ask_for_certs = input message: 'Upload RootCA certificate and key', parameters: [file(name: 'rootca'), file(name: 'rootca_key')]
|
||||
}
|
||||
withFileParameter('rootca') {
|
||||
sh 'mv ${rootca} roles/rproxy/files/RootCA.crt'
|
||||
}
|
||||
withFileParameter('rootca_key') {
|
||||
sh 'mv ${rootca_key} roles/rproxy/files/RootCA.key'
|
||||
}
|
||||
ask_for_certs.delete()
|
||||
}
|
||||
}
|
||||
stage('Install Rproxy') {
|
||||
|
||||
Reference in New Issue
Block a user