Skip to content

Commit

Permalink
tidy-up Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
devopswise committed Jan 16, 2019
1 parent 3529698 commit d9c371a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Jenkinsfile.aws
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ pipeline {
agent any
stages {
stage('run cdt-installer'){
currentBuild.result = "SUCCESS"
try {
withCredentials([string(credentialsId: 'AWS_ACCESS_KEY', variable: 'AWS_ACCESS_KEY_ID'),
string(credentialsId: 'AWS_SECRET_KEY', variable: 'AWS_SECRET_ACCESS_KEY'),
]) {
Expand All @@ -16,13 +14,7 @@ pipeline {
-e DEBUG="-vv" \
-v /opt/source/cdt-test/aws:/opt/cdt \
devopswise/cdt-installer:latest "cdt --launch" '''
}
}
}
catch (err) {
currentBuild.result = "FAILURE"
throw err
}
}
}
}

0 comments on commit d9c371a

Please sign in to comment.