skip linters for cron job
Change-Id: I0c3a24600d583f7472a5d9f4aa318db1e4a1ae0b Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287542 Reviewed-by: Bobby Buten <bobby.buten@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: Aaron Ogata <aogata@instructure.com> Product-Review: Aaron Ogata <aogata@instructure.com>
This commit is contained in:
parent
b2511d149a
commit
242ec01b06
|
@ -552,7 +552,7 @@ pipeline {
|
|||
extendedStage('Linters')
|
||||
.hooks([onNodeReleasing: lintersStage.tearDownNode()])
|
||||
.nodeRequirements(label: 'canvas-docker', podTemplate: lintersStage.nodeRequirementsTemplate())
|
||||
.required(!configuration.isChangeMerged())
|
||||
.required(!configuration.isChangeMerged() && env.GERRIT_PATCHSET_REVISION != '0')
|
||||
.execute {
|
||||
def nestedStages = [:]
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@ set -ex
|
|||
export GERGICH_REVIEW_LABEL="Lint-Review"
|
||||
gergich status
|
||||
|
||||
if [[ "$GERGICH_PUBLISH" == "1" && "$GERRIT_PATCHSET_REVISION" != "0" ]]; then
|
||||
if [[ "$GERGICH_PUBLISH" == "1" ]]; then
|
||||
GERGICH_GIT_PATH=".." gergich publish
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue