Skip to content

Commit

Permalink
Release 1.14 sprint3 (#311)
Browse files Browse the repository at this point in the history
* Issue #000 key: JenkinsFile for rotating key with multiple extra-vars
  • Loading branch information
SMYALTAMASH authored and kartishr committed Mar 8, 2019
1 parent 094d3c6 commit 344b754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/bootstrap/Jenkinsfile.rotatekey
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ node() {
jobName = sh(returnStdout: true, script: "echo $JOB_NAME").split('/')[-1].trim()
currentWs = sh(returnStdout: true, script: 'pwd').trim()
ansiblePlaybook = "${currentWs}/ansible/rotatekeys.yml"
ansibleExtraArgs = " --extra-vars bootstrap_user_public_key=\"${params.bootstrap_user_public_key}\" bootstrap_user=\"${params.bootstrap_user}\" ssh_user=\"${params.ssh_user}\" ssh_private_file=\"${params.ssh_private_file}\" ssh_public_key=\"${params.ssh_public_key}\""
ansibleExtraArgs = " --extra-vars bootstrap_user_public_key=\"${params.bootstrap_user_public_key}\" --extra-vars bootstrap_user=\"${params.bootstrap_user}\" --extra-vars ssh_user=\"${params.ssh_user}\" --extra-vars ssh_private_file=\"${params.ssh_private_file}\" --extra-vars ssh_public_key=\"${params.ssh_public_key}\""
values.put('currentWs', currentWs)
values.put('env', envDir)
values.put('module', module)
Expand Down

0 comments on commit 344b754

Please sign in to comment.