From: Trevor Bramwell Date: Fri, 22 Jun 2018 22:18:11 +0000 (-0700) Subject: Support Windows Scripts in JJB and Packer Jobs X-Git-Tag: v0.22.0~22^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F11536%2F1;p=releng%2Fglobal-jjb.git Support Windows Scripts in JJB and Packer Jobs This change enables verification builds to be triggered for changes to Powershell and Batch scripts in jenkins-job-builder repositories. Change-Id: Ifb8ca3a59cce116b3a41cb143f080c5a4d488646 Signed-off-by: Trevor Bramwell --- diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index a7fd30a6..5b05114c 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -144,6 +144,10 @@ pattern: '.*\.groovy' - compare-type: REG_EXP pattern: '.*\.sh' + - compare-type: REG_EXP + pattern: '.*\.bat' + - compare-type: REG_EXP + pattern: '.*\.ps1' - compare-type: REG_EXP pattern: '.*\.(yaml|yml)' - compare-type: REG_EXP @@ -153,6 +157,8 @@ github_included_regions: - '.*\.groovy' - '.*\.sh' + - '.*\.bat' + - '.*\.ps1' - '.*\.(yaml|yml)' - '.*\/global-jjb' @@ -871,6 +877,10 @@ file-paths: - compare-type: REG_EXP pattern: 'packer\/provision\/.*\.sh' + - compare-type: REG_EXP + pattern: 'packer\/provision\/.*\.bat' + - compare-type: REG_EXP + pattern: 'packer\/provision\/.*\.ps1' - compare-type: REG_EXP pattern: 'packer\/provision\/{templates}\.yaml' - compare-type: REG_EXP @@ -923,6 +933,8 @@ # included-regions MUST match Gerrit Trigger file-paths included-regions: - 'packer\/provision\/.*\.sh' + - 'packer\/provision\/.*\.bat' + - 'packer\/provision\/.*\.ps1' - 'packer\/provision\/{templates}\.yaml' - 'packer\/provision\/local-{templates}\.yaml' - 'packer\/templates\/{templates}\.json'