Syntax and cleaning

This commit is contained in:
Layla 2019-04-11 13:45:34 -04:00
parent 0f1a9acdd4
commit 4fb7bb6c6f

19
Jenkinsfile vendored
View File

@ -48,20 +48,21 @@ pipeline {
//sh "aws s3 cp ${env.SERVICE}-${getVersion('-d')}.tar.gz s3://rbn-ops-pkg-us-east-1/${env.SERVICE}/${env.SERVICE}-${getVersion('-d')}.tar.gz"
}
}
post{
post
{
// Update Git with status of push stage.
success {
updateGithubCommitStatus(GITHUB_URL, 'Passed push stage', 'SUCCESS', 'Push')
updateGithubCommitStatus(GITHUB_URL, 'Passed push stage', 'SUCCESS', 'Push')
}
failure {
updateGithubCommitStatus(GITHUB_URL, 'Failed push stage', 'FAILURE', 'Push')
updateGithubCommitStatus(GITHUB_URL, 'Failed push stage', 'FAILURE', 'Push')
}
}
}
post {
always {
removeDockerImages()
}
}
post {
always {
removeDockerImages()
cleanWs()
}
}
}