Skip to content

Commit

Permalink
Adjust pipeline for tier-creds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Sep 2, 2016
1 parent 51de5fb commit de79baf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ if (BRANCH_TEST=="shibboleth-production"){
sh 'rm -rf builds'
sh 'mkdir -p builds'

withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-config', variable: 'FILE']]) {
withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-config2', variable: 'FILE']]) {
ws {
sh 'mkdir -p ~/.aws'
sh 'cp $FILE ~/.aws/config'
}
}

withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-credentials', variable: 'FILE']]) {
withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-credentials2', variable: 'FILE']]) {
ws {
sh 'mkdir -p ~/.aws'
sh 'cp $FILE ~/.aws/credentials'
Expand Down Expand Up @@ -77,14 +77,14 @@ if (BRANCH_TEST=="shibboleth-production"){
sh 'rm -rf builds'
sh 'mkdir -p builds'

withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-config', variable: 'FILE']]) {
withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-config2', variable: 'FILE']]) {
ws {
sh 'mkdir -p ~/.aws'
sh 'cp $FILE ~/.aws/config'
}
}

withCredentials([[$class: 'FileBinding', credentialsId: 'our-aws-credentials', variable: 'FILE']]) {
withCredentials([[$class: 'FileBinding', credentialsId: 'tier-aws-credentials2', variable: 'FILE']]) {
ws {
sh 'mkdir -p ~/.aws'
sh 'cp $FILE ~/.aws/credentials'
Expand Down

0 comments on commit de79baf

Please sign in to comment.