- job-group:
name: '{project-name}-packer-jobs'
- packer-version: 1.1.3
-
jobs:
- gerrit-packer-merge
- gerrit-packer-verify
- job-group:
name: '{project-name}-github-packer-jobs'
- packer-version: 1.1.3
-
jobs:
- github-packer-merge
- github-packer-verify
stream: master
submodule-recursive: true
packer-cloud-settings: packer-cloud-env
+ packer-version: 1.2.2
#####################
# Job Configuration #
stream: '{stream}'
branch: '{branch}'
lftools-version: '{lftools-version}'
- - lf-infra-packer-parameters:
+ - lf-packer-parameters:
packer-version: '{packer-version}'
wrappers:
description: Jenkins Job Builder version to download and install.
- parameter:
- name: lf-infra-packer-parameters
+ name: lf-packer-parameters
parameters:
- string:
name: PACKER_VERSION
branch: master
build-timeout: 10
- jjb-version: 1.6.2
+ jjb-version: 2.0.5
stream: master
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
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 #
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}'
- 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 #
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
+ unstable: true
+ notbuilt: true
- job-template:
name: '{project-name}-jjb-deploy-job'
- shell: !include-raw-escape:
- ../shell/jjb-install.sh
- ../shell/jjb-merge-job.sh
+ - ../shell/jjb-cleanup.sh
- job-template:
name: '{project-name}-jjb-merge'
- ../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: