Refactor!: Update JJB code to comply with 5.x
[ci-management.git] / jjb / ric-plt-xapp-frame-py / ric-plt-xapp-frame-py.yaml
index b6c4e04..451cbdd 100644 (file)
@@ -13,7 +13,7 @@
     jobs:
       - gerrit-info-yaml-verify
 
-- py_common: &py_common
+- _py_common: &py_common
     name: xapp-frame-py-common
     # git repo
     project: ric-plt/xapp-frame-py
     build-node: ubuntu1804-builder-2c-2g
     pre-build-script: !include-raw-escape:
       - ../shell/install-deb-rmr.sh
+      - ../shell/install-deb-e2ap.sh
 
 - project:
     name: ric-plt-xapp-frame-py-pypi
     <<: *py_common
+    # do not trigger on changes in docs, releases
+    gerrit_trigger_file_paths:
+        - compare-type: REG_EXP
+          pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
     jobs:
       - gerrit-pypi-verify
       - gerrit-pypi-stage