run buildDockerImageStage.&patchsetImage without async steps
flag = none Change-Id: Id1f642b0cc92120c6675cc671f364d7d0eaa7b71 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/294942 Reviewed-by: Aaron Ogata <aogata@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: James Butters <jbutters@instructure.com> Product-Review: James Butters <jbutters@instructure.com>
This commit is contained in:
parent
d58280f57a
commit
7429163d3f
|
@ -176,7 +176,7 @@ pipeline {
|
|||
.hooks(buildSummaryReportHooks.call())
|
||||
.obeysAllowStages(false)
|
||||
.timeout(20)
|
||||
.execute(buildDockerImageStage.&patchsetImage)
|
||||
.execute{ buildDockerImageStage.patchsetImage() }
|
||||
|
||||
extendedStage('Run Migrations')
|
||||
.hooks(buildSummaryReportHooks.call())
|
||||
|
|
|
@ -154,7 +154,7 @@ def premergeCacheImage() {
|
|||
}
|
||||
}
|
||||
|
||||
def patchsetImage(asyncStepsStr) {
|
||||
def patchsetImage(asyncStepsStr = '') {
|
||||
credentials.withStarlordCredentials {
|
||||
def cacheScope = configuration.isChangeMerged() ? env.IMAGE_CACHE_MERGE_SCOPE : env.IMAGE_CACHE_BUILD_SCOPE
|
||||
|
||||
|
@ -180,7 +180,7 @@ def patchsetImage(asyncStepsStr) {
|
|||
|
||||
build/new-jenkins/docker-build.sh $PATCHSET_TAG
|
||||
|
||||
$asyncStepsStr
|
||||
$asyncStepsStr
|
||||
"""
|
||||
} catch (e) {
|
||||
handleDockerBuildFailure(PATCHSET_TAG, e)
|
||||
|
|
Loading…
Reference in New Issue