FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 8ccec112 authored by Kevin Hooke's avatar Kevin Hooke
Browse files

added rule to not run verify on MRs

parent 4297487e
No related branches found
No related tags found
1 merge request!104Combined maven pipeline configs from WRS and Java Common into a new common template
......@@ -122,10 +122,12 @@ variables:
- "**/target/surefire-reports/TEST-*.xml"
- "**/target/failsafe-reports/TEST-*.xml"
# Verify job runs on all branches.
# Verify job runs on all branches apart from Merge Requests.
maven:verify:
extends: .maven:verify
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: $MAVEN_VERIFY_DISABLED
when: never
- !reference [".maven:verify", rules]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment