Skip to content

Commit

Permalink
Updated Jenkinsfile to work on 0.4.x branch.
Browse files Browse the repository at this point in the history
Updated to include CF Template URL for 1.9.2.
Updated to translate '.'s into '-'s for branch name.
  • Loading branch information
klueska committed Jul 23, 2017
1 parent 5e99def commit 0647ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class TestCluster implements Serializable {
script.writeFile([
"file": "${platform}_config.yaml",
"text" : script.generateConfig(
"dcos-cli-${platform}-${script.env.BRANCH_NAME}-${script.env.BUILD_ID}-${createAttempts}",
"dcos-cli-${platform}-${script.env.BRANCH_NAME.replace('.', '-')}-${script.env.BUILD_ID}-${createAttempts}",
"${script.env.CF_TEMPLATE_URL}")])

launch_create()
Expand Down Expand Up @@ -424,7 +424,7 @@ node('py35') {
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
secretKeyVariable: 'AWS_SECRET_ACCESS_KEY'],
[$class: 'StringBinding',
credentialsId: 'fd1fe0ae-113d-4096-87b2-15aa9606bb4e',
credentialsId: '542aa287-9464-49cb-bdd3-9e4ca457dd87',
variable: 'CF_TEMPLATE_URL'],
[$class: 'UsernamePasswordMultiBinding',
credentialsId: '323df884-742b-4099-b8b7-d764e5eb9674',
Expand Down

0 comments on commit 0647ea0

Please sign in to comment.