Dont update skipped specs when manually triggered by gerrit

flag=none

Test-plan:
- run manually via gerrit commit, should skip skipped spec updater

Change-Id: I7fda48ee1e711ca48d53de2dfa212cc0e33ab052
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/287858
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Brian Watson <bwatson@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
This commit is contained in:
Brian Watson 2022-03-23 15:15:12 -06:00
parent 8fae5e4ecd
commit f45ae395dc
2 changed files with 6 additions and 2 deletions

View File

@ -169,7 +169,9 @@ pipeline {
uploadDest: env.COVERAGE_LOCATION
])
}
generateSkippedSpecsReport()
if (env.GERRIT_EVENT_TYPE != 'comment-added') {
generateSkippedSpecsReport()
}
}
]

View File

@ -150,7 +150,9 @@ pipeline {
uploadDest: 'canvas-lms-js/coverage'
])
}
generateSkippedSpecsReport()
if (env.GERRIT_EVENT_TYPE != 'comment-added') {
generateSkippedSpecsReport()
}
}
]