X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=e02d753169e8d4a1b805b59efa5475f0083f03c7;hb=refs%2Fchanges%2F73%2F14073%2F2;hp=9b862bfea2800318485f5f3c33d1ae34beb863ea;hpb=ec94b22a64e710af14e6f4f862a4d7ccb3a8e030;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 9b862bfe..e02d7531 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -58,7 +58,6 @@ project: '{project}' stream: '{stream}' branch: '{branch}' - lftools-version: '{lftools-version}' - lf-packer-parameters: packer-version: '{packer-version}' @@ -77,6 +76,10 @@ name: JJB_VERSION default: '{jjb-version}' description: Jenkins Job Builder version to download and install. + - string: + name: XDG_CACHE_HOME + default: '{jjb-cache}' + description: Jenkins Job Builder cache location. - parameter: name: lf-packer-parameters @@ -97,7 +100,8 @@ build-timeout: 10 disable-job: false github-url: 'https://github.com' - jjb-version: 2.2.1 + jjb-cache: '$HOME/.cache/jenkins_jobs' + jjb-version: 2.8.0 stream: master submodule-recursive: true submodule-timeout: 10 @@ -134,8 +138,8 @@ project: '{project}' stream: '{stream}' branch: '{branch}' - lftools-version: '{lftools-version}' - lf-infra-jjb-parameters: + jjb-cache: '{jjb-cache}' jjb-version: '{jjb-version}' wrappers: @@ -185,7 +189,6 @@ project: '{project}' stream: '{stream}' branch: '{branch}' - lftools-version: '{lftools-version}' wrappers: - lf-infra-wrappers: @@ -289,7 +292,6 @@ project: '{project}' stream: '' branch: master - lftools-version: '{lftools-version}' wrappers: - lf-infra-wrappers: @@ -430,7 +432,6 @@ project: '{project}' stream: '' branch: master - lftools-version: '{lftools-version}' wrappers: - lf-infra-wrappers: @@ -540,6 +541,7 @@ parameters: - lf-infra-jjb-parameters: + jjb-cache: '{jjb-cache}' jjb-version: '{jjb-version}' triggers: @@ -609,7 +611,6 @@ project: '{project}' stream: '{stream}' branch: '{branch}' - lftools-version: '{lftools-version}' wrappers: - lf-infra-wrappers: @@ -804,6 +805,8 @@ # Default parameters # ###################### + build-concurrent: true + gerrit_verify_triggers: - patchset-created-event: exclude-drafts: true @@ -817,7 +820,7 @@ # Job Configuration # ##################### - concurrent: true + concurrent: '{build-concurrent}' builders: - lf-infra-pre-build @@ -1035,7 +1038,6 @@ project: '{project}' branch: '{branch}' stream: '{stream}' - lftools-version: '{lftools-version}' wrappers: - lf-infra-wrappers: @@ -1266,7 +1268,6 @@ project: '{project}' stream: '{stream}' branch: '{branch}' - lftools-version: '{lftools-version}' - string: name: JENKINS_URLS default: '{jenkins-urls}' @@ -1382,7 +1383,6 @@ project: '{project}' stream: '{stream}' branch: '{branch}' - lftools-version: '{lftools-version}' - lf-packer-parameters: packer-version: '{packer-version}' @@ -1475,8 +1475,10 @@ scm: - lf-infra-github-scm: url: '{git-clone-url}{github-org}/{project}' - refspec: '' - branch: 'refs/heads/{branch}' + refspec: > + +refs/heads/*:refs/remotes/origin/* + +refs/pull/*:refs/remotes/origin/pr/* + branch: '$GERRIT_REFSPEC' submodule-recursive: '{submodule-recursive}' submodule-timeout: '{submodule-timeout}' choosing-strategy: default