bump Publish Merged Image timeout
Change-Id: Id2d799eb631a33c10940c200e1abe9f070a33d03 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/217832 Tested-by: Jenkins Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: James Butters <jbutters@instructure.com> QA-Review: James Butters <jbutters@instructure.com> Product-Review: Derek Bender <djbender@instructure.com>
This commit is contained in:
parent
6990a780e4
commit
2ed92a2075
|
@ -340,16 +340,15 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Publish Merged Image') {
|
||||
when { expression { env.GERRIT_EVENT_TYPE == 'change-merged' } }
|
||||
steps {
|
||||
timeout(time: 5) {
|
||||
timeout(time: 10) {
|
||||
script {
|
||||
if (env.GERRIT_EVENT_TYPE == 'change-merged') {
|
||||
sh '''
|
||||
docker tag $PATCHSET_TAG $MERGE_TAG
|
||||
docker push $MERGE_TAG
|
||||
'''
|
||||
dockerCacheStore(image: "$CACHE_TAG")
|
||||
}
|
||||
sh '''
|
||||
docker tag $PATCHSET_TAG $MERGE_TAG
|
||||
docker push $MERGE_TAG
|
||||
'''
|
||||
dockerCacheStore(image: "$CACHE_TAG")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue