X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=233fec46771de94a01e61b55e54b0e8d8dfae077;hb=f6db87032271817f546f6c1668138681529d7d3e;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..233fec46 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 @@ -83,9 +79,11 @@ branch: master build-timeout: 90 + cron: '@monthly' stream: master submodule-recursive: true packer-cloud-settings: packer-cloud-env + packer-version: 1.2.2 ##################### # Job Configuration # @@ -105,7 +103,7 @@ stream: '{stream}' branch: '{branch}' lftools-version: '{lftools-version}' - - lf-infra-packer-parameters: + - lf-packer-parameters: packer-version: '{packer-version}' wrappers: @@ -125,7 +123,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 +144,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 @@ -370,8 +372,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}' @@ -464,10 +466,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 +532,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 +631,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: @@ -742,7 +746,7 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' triggers: - - timed: '00 10 1 * *' + - timed: '{cron}' - gerrit: server-name: '{gerrit-server-name}' trigger-on: '{obj:gerrit_merge_triggers}' @@ -775,7 +779,7 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' triggers: - - timed: '00 10 1 * *' + - timed: '{cron}' - github - pollscm: cron: ''