Add trigger file path to xapp-qp* jobs
Add pattern to ignore changes in docs/ and releases/ subdirs
to skip dockering and tox-ing when no Python code changes.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I48b0acfee9cb9cfa90b1afb7f4a31f56879c64e7
diff --git a/jjb/ric-app-qp-driver/ric-app-qp-driver.yaml b/jjb/ric-app-qp-driver/ric-app-qp-driver.yaml
index 0c6fede..9a6393a 100644
--- a/jjb/ric-app-qp-driver/ric-app-qp-driver.yaml
+++ b/jjb/ric-app-qp-driver/ric-app-qp-driver.yaml
@@ -44,6 +44,10 @@
# use host network
docker-build-args: '--network=host'
build-node: ubuntu1804-docker-4c-4g
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
jobs:
- '{project-name}-gerrit-docker-jobs'
stream:
@@ -54,6 +58,10 @@
<<: *qpd_common
<<: *qpd_python
name: ric-app-qp-driver-verify
+ # do not trigger on changes in docs, releases
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
jobs:
- gerrit-tox-verify
stream: