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,11 +52,16 @@ pipeline {
./deploy/build.sh ./deploy/build.sh
''' '''
} }
post { }
always { stage('Push Image') {
sh './deploy/push.sh' when {
expression {
currentBuild.result == 'SUCCESS'
} }
} }
steps {
sh './deploy/push.sh'
}
} }
} }