From: Thanh Ha Date: Wed, 19 Sep 2018 19:11:07 +0000 (-0400) Subject: Trigger jjb-verify on all changes in jjb dir X-Git-Tag: v0.25.0~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=337be5d9baa1c1661ea775c63861fe7d99486f80;p=releng%2Fglobal-jjb.git Trigger jjb-verify on all changes in jjb dir Everything in the global-jjb directory should trigger jjb-verify jobs. Update the regex to be less specific. Change-Id: Ie0b6c5b60e3547e1f3616c8dde7493be6d6184ff Signed-off-by: Thanh Ha --- diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index f8b7b775..502b1cf6 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -110,9 +110,9 @@ - compare-type: REG_EXP pattern: '.*\.ps1' - compare-type: REG_EXP - pattern: '.*\.(yaml|yml)' + pattern: 'jjb/.*' - compare-type: REG_EXP - pattern: '.*\/global-jjb' + pattern: 'global-jjb' # github_included_regions MUST match gerrit_trigger_file_paths github_included_regions: @@ -120,8 +120,8 @@ - '.*\.sh' - '.*\.bat' - '.*\.ps1' - - '.*\.(yaml|yml)' - - '.*\/global-jjb' + - 'jjb/.*' + - 'global-jjb' ##################### # Job Configuration # diff --git a/releasenotes/notes/global-jjb-install-symlinks-a03bfc8e84b14874.yaml b/releasenotes/notes/global-jjb-install-symlinks-a03bfc8e84b14874.yaml index c250c31d..6fb7904e 100644 --- a/releasenotes/notes/global-jjb-install-symlinks-a03bfc8e84b14874.yaml +++ b/releasenotes/notes/global-jjb-install-symlinks-a03bfc8e84b14874.yaml @@ -1,5 +1,9 @@ --- upgrade: + - | + Upgrade to global-jjb v0.24.6 before performing this upgrade. This ensures + that jjb-verify job pulls in a regex fix that will allow it to verify + the v0.25.0 upgrade. - | Global JJB now has non-JJB YAML configuration and requires action on the ci-management repo when upgrading to this version of Global JJB to prevent diff --git a/releasenotes/notes/jjb-verify-patterns-4756123966391f07.yaml b/releasenotes/notes/jjb-verify-patterns-4756123966391f07.yaml new file mode 100644 index 00000000..833fccc7 --- /dev/null +++ b/releasenotes/notes/jjb-verify-patterns-4756123966391f07.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + jjb-verify will now test on all changes in the jjb directory. The previous + pattern was too specific and sometimes missed verifying patches that + should be verified.