X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=2b6ab3afd9cdbf7360fa655723dda85040661dab;hb=a0fac97e089d53aafe71d45594cddf3aaf69f7fa;hp=02d954044e47761dff91863b2eb076e791fab816;hpb=bfe91be03d516a56adb74abd1e16c50b86c27c6e;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 02d95404..2b6ab3af 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -20,8 +20,6 @@ - job-group: name: '{project-name}-packer-jobs' - packer-version: 1.2.2 - jobs: - gerrit-packer-merge - gerrit-packer-verify @@ -30,8 +28,6 @@ - job-group: name: '{project-name}-github-packer-jobs' - packer-version: 1.2.2 - jobs: - github-packer-merge - github-packer-verify @@ -86,6 +82,7 @@ stream: master submodule-recursive: true packer-cloud-settings: packer-cloud-env + packer-version: 1.2.2 ##################### # Job Configuration # @@ -105,7 +102,7 @@ stream: '{stream}' branch: '{branch}' lftools-version: '{lftools-version}' - - lf-infra-packer-parameters: + - lf-packer-parameters: packer-version: '{packer-version}' wrappers: @@ -125,7 +122,7 @@ description: Jenkins Job Builder version to download and install. - parameter: - name: lf-infra-packer-parameters + name: lf-packer-parameters parameters: - string: name: PACKER_VERSION @@ -146,8 +143,12 @@ submodule-recursive: true gerrit_trigger_file_paths: + - compare-type: ANT + pattern: '**/*.groovy' - compare-type: ANT pattern: '**/*.sh' + - compare-type: ANT + pattern: '**/*.yml' - compare-type: ANT pattern: '**/*.yaml' - compare-type: ANT @@ -292,8 +293,12 @@ comment-contains-value: remerge$ gerrit_trigger_file_paths: - - compare-type: ANT - pattern: 'jenkins-config/**' + - compare-type: REG_EXP + pattern: 'jenkins-config\/.*' + + # github_included_regions MUST match gerrit_trigger_file_paths + github_included_regions: + - 'jenkins-config\/.*' ##################### # Job Configuration # @@ -370,8 +375,8 @@ scm: - lf-infra-github-scm: url: '{git-clone-url}{github-org}/{project}' - refspec: '+refs/pull/*:refs/remotes/origin/pr/*' - branch: '$sha1' + refspec: '' + branch: 'refs/heads/{branch}' submodule-recursive: true choosing-strategy: default jenkins-ssh-credential: '{jenkins-ssh-credential}' @@ -381,16 +386,17 @@ - github - pollscm: cron: '' - - lf-infra-github-pr-trigger: + - github-pull-request: trigger-phrase: '^remerge$' only-trigger-phrase: true status-context: 'Jenkins CFG Merge' permit-all: false github-hooks: true - github-org: '{github-org}' - github_pr_whitelist: '{obj:github_pr_whitelist}' - github_pr_admin_list: '{obj:github_pr_admin_list}' - + org-list: + - '{github-org}' + white-list: '{obj:github_pr_whitelist}' + admin-list: '{obj:github_pr_admin_list}' + included-regions: '{obj:github_included_regions}' ################## # JJB DEPLOY JOB # @@ -464,10 +470,10 @@ trigger-on: '{obj:gerrit_jjb_deploy_job_triggers}' projects: - project-compare-type: ANT - project-pattern: '{project}' + project-pattern: '**' branches: - branch-compare-type: ANT - branch-pattern: '**/{branch}' + branch-pattern: '**' skip-vote: success: true failed: true @@ -530,6 +536,7 @@ - shell: !include-raw-escape: - ../shell/jjb-install.sh - ../shell/jjb-merge-job.sh + - ../shell/jjb-cleanup.sh - job-template: name: '{project-name}-jjb-merge' @@ -628,6 +635,7 @@ - ../shell/jjb-install.sh - ../shell/jjb-verify-job.sh - ../shell/jjb-check-unicode.sh + - ../shell/jjb-cleanup.sh - lf-infra-gpg-verify-git-signature - job-template: