From d818ab2e635db50ceb13dd06c1d740a6b0f16a57 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Fri, 22 Oct 2021 13:50:26 +0800 Subject: [PATCH] Update jjb for pti o2 repo Add verify job Issue-ID: INF-232 Signed-off-by: Bin Yang Change-Id: I66092dff7e2a08c1b408fd3119e3d7b792b33a03 --- jjb/pti-o2/pti-o2.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/jjb/pti-o2/pti-o2.yaml b/jjb/pti-o2/pti-o2.yaml index 23f22c42..f07066f6 100644 --- a/jjb/pti-o2/pti-o2.yaml +++ b/jjb/pti-o2/pti-o2.yaml @@ -12,3 +12,37 @@ build-node: centos7-builder-1c-1g jobs: - gerrit-info-yaml-verify + +- pti_o2_common: &pti_o2_common + # values apply to all pti/o2 projects + name: pti-o2-common + # git repo + project: pti/o2 + # jenkins job name prefix + project-name: pti-o2 + # maven settings file has credentials + mvn-settings: pti-o2-settings + +- pti_o2_python: &pti_o2_python + # settings for python builds + name: pti-o2-python + # the install script assumes an ubuntu image + build-node: ubuntu1804-builder-2c-2g + # impt for verify and tox etc + python-version: python3 + # no need to verify docs + tox-envs: code,flake8 + +- project: + <<: *pti_o2_common + <<: *pti_o2_python + name: pti-o2-imsdms-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: + - master: + branch: master -- 2.16.6