Syntax and cleaning
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -48,8 +48,8 @@ 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"
|
//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.
|
// Update Git with status of push stage.
|
||||||
success {
|
success {
|
||||||
updateGithubCommitStatus(GITHUB_URL, 'Passed push stage', 'SUCCESS', 'Push')
|
updateGithubCommitStatus(GITHUB_URL, 'Passed push stage', 'SUCCESS', 'Push')
|
||||||
@ -62,6 +62,7 @@ pipeline {
|
|||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
removeDockerImages()
|
removeDockerImages()
|
||||||
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user