Seperate field for pushing package

This commit is contained in:
Joshua Arulsamy 2020-08-10 02:25:48 -06:00
parent 4633247004
commit 7471da85f7

11
Jenkinsfile vendored
View File

@ -52,10 +52,15 @@ pipeline {
./deploy/build.sh ./deploy/build.sh
''' '''
} }
post {
always {
sh './deploy/push.sh'
} }
stage('Push Image') {
when {
expression {
currentBuild.result == 'SUCCESS'
}
}
steps {
sh './deploy/push.sh'
} }
} }
} }