Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Allow packer-merge job to test WIP patch
[releng/global-jjb.git]
/
jjb
/
lf-ci-jobs.yaml
diff --git
a/jjb/lf-ci-jobs.yaml
b/jjb/lf-ci-jobs.yaml
index
9b862bf
..
450fcfa
100644
(file)
--- a/
jjb/lf-ci-jobs.yaml
+++ b/
jjb/lf-ci-jobs.yaml
@@
-77,6
+77,10
@@
name: JJB_VERSION
default: '{jjb-version}'
description: Jenkins Job Builder version to download and install.
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
- parameter:
name: lf-packer-parameters
@@
-97,6
+101,7
@@
build-timeout: 10
disable-job: false
github-url: 'https://github.com'
build-timeout: 10
disable-job: false
github-url: 'https://github.com'
+ jjb-cache: '$HOME/.cache/jenkins_jobs'
jjb-version: 2.2.1
stream: master
submodule-recursive: true
jjb-version: 2.2.1
stream: master
submodule-recursive: true
@@
-136,6
+141,7
@@
branch: '{branch}'
lftools-version: '{lftools-version}'
- lf-infra-jjb-parameters:
branch: '{branch}'
lftools-version: '{lftools-version}'
- lf-infra-jjb-parameters:
+ jjb-cache: '{jjb-cache}'
jjb-version: '{jjb-version}'
wrappers:
jjb-version: '{jjb-version}'
wrappers:
@@
-540,6
+546,7
@@
parameters:
- lf-infra-jjb-parameters:
parameters:
- lf-infra-jjb-parameters:
+ jjb-cache: '{jjb-cache}'
jjb-version: '{jjb-version}'
triggers:
jjb-version: '{jjb-version}'
triggers:
@@
-1475,8
+1482,10
@@
scm:
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
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
submodule-recursive: '{submodule-recursive}'
submodule-timeout: '{submodule-timeout}'
choosing-strategy: default