only run Locales Only Changes stage for pre-merge
Change-Id: I44decd04cc35a179a69cc2951c106019b06bff15 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/289673 Reviewed-by: Bobby Buten <bobby.buten@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
83f30dd355
commit
00a1c9e9e6
|
@ -493,7 +493,7 @@ pipeline {
|
|||
extendedStage('Locales Only Changes')
|
||||
.hooks(buildSummaryReportHooks.call())
|
||||
.obeysAllowStages(false)
|
||||
.required(env.GERRIT_PROJECT == 'canvas-lms' && sh(script: "${WORKSPACE}/build/new-jenkins/locales-changes.sh", returnStatus: true) == 0)
|
||||
.required(!configuration.isChangeMerged() && sh(script: "${WORKSPACE}/build/new-jenkins/locales-changes.sh", returnStatus: true) == 0)
|
||||
.execute {
|
||||
gerrit.submitLintReview('-2', 'This commit contains only changes to config/locales/, this could be a bad sign!')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue