submodule-timeout: 10
submodule-disable: false
packer-cloud-settings: packer-cloud-env
- packer-version: 1.4.4
+ packer-version: 1.4.2
#####################
# Job Configuration #
######################
- job-template:
- name: "{project-name}-gerrit-branch-lock-{stream}"
+ name: "{project-name}-gerrit-branch-lock"
id: gerrit-branch-lock
######################
# Default parameters #
######################
- branch: master
+ branch: "**"
disable-job: false
git-url: "$GIT_URL/$GERRIT_PROJECT"
- stream: master
submodule-timeout: 10
- submodule-disable: false
+ submodule-disable: true
gerrit_merge_triggers:
- comment-added-contains-event:
comment-contains-value: (un)?lock branch$
parameters:
- lf-infra-parameters:
project: "{project}"
- stream: "{stream}"
+ stream: ""
branch: "{branch}"
wrappers:
- lf-infra-gerrit-scm:
git-url: "{git-url}"
refspec: ""
- branch: "{branch}"
+ branch: "$GERRIT_BRANCH"
submodule-recursive: false
submodule-timeout: "{submodule-timeout}"
submodule-disable: "{submodule-disable}"
trigger-on: "{obj:gerrit_merge_triggers}"
projects:
- project-compare-type: ANT
- project-pattern: "{project}"
+ project-pattern: "**"
branches:
- branch-compare-type: ANT
branch-pattern: "**/{branch}"
disable-job: false
git-url: "$GIT_URL/$GERRIT_PROJECT"
github-url: "https://github.com"
- openstack-cloud: vex
submodule-timeout: 10
submodule-disable: false
builders:
- lf-infra-pre-build
- - inject:
- properties-content: OS_CLOUD={openstack-cloud}
- shell: !include-raw-escape: ../shell/jenkins-verify-images.sh
publishers:
builders:
- lf-infra-jjbini
- shell: !include-raw-escape:
- - ../shell/jjb-install.sh
- ../shell/jenkins-sandbox-cleanup.sh
- - ../shell/jjb-cleanup.sh
- job-template:
name: "{project-name}-jenkins-sandbox-cleanup"
jenkins-ssh-credential: "{jenkins-ssh-credential}"
builders:
- - lf-pip-install:
- pip-packages: jenkins-job-builder
- lf-infra-jjbini
- shell: !include-raw-escape: ../shell/jjb-deploy-job.sh
- inject:
properties-content: JJB_WORKERS={jjb-workers}
- shell: !include-raw-escape:
- - ../shell/jjb-install.sh
- ../shell/jjb-merge-job.sh
- - ../shell/jjb-cleanup.sh
- job-template:
name: "{project-name}-jjb-merge"
- lf-infra-pre-build
- lf-infra-jjbini
- shell: !include-raw-escape:
- - ../shell/git-validate-jira-urls.sh
- - ../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:
git cherry-pick FETCH_HEAD
- lf-infra-jjbini
- shell: !include-raw-escape:
- - ../shell/git-validate-jira-urls.sh
- - ../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:
# Sonar properties
sonar-task: ""
+ sonar-project-file: "sonar-project.properties"
sonar-properties: ""
sonar-java-opts: ""
sonar-additional-args: ""
- lf-infra-pre-build
- lf-infra-sonar:
sonar-task: "{sonar-task}"
+ sonar-project-file: "{sonar-project-file}"
sonar-properties: "{sonar-properties}"
sonar-java-opts: "{sonar-java-opts}"
sonar-additional-args: "{sonar-additional-args}"
- lf-infra-pre-build
- lf-infra-sonar-with-prescan:
sonar-task: "{sonar-task}"
+ sonar-project-file: "{sonar-project-file}"
sonar-properties: "{sonar-properties}"
sonar-java-opts: "{sonar-java-opts}"
sonar-additional-args: "{sonar-additional-args}"