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
Fix jenkins-init scripts dir
[releng/global-jjb.git]
/
jjb
/
lf-rtd-jobs.yaml
diff --git
a/jjb/lf-rtd-jobs.yaml
b/jjb/lf-rtd-jobs.yaml
index
3c21dbc
..
0f4aa8b
100644
(file)
--- a/
jjb/lf-rtd-jobs.yaml
+++ b/
jjb/lf-rtd-jobs.yaml
@@
-1,17
+1,4
@@
---
---
-- job-group:
- name: '{project-name}-rtd-jobs'
-
- jobs:
- - gerrit-rtd-merge
- - gerrit-rtd-verify
-
-- job-group:
- name: '{project-name}-github-rtd-jobs'
-
- jobs:
- - github-rtd-merge
- - github-rtd-verify
####################
# COMMON FUNCTIONS #
####################
# COMMON FUNCTIONS #
@@
-82,7
+69,9
@@
branch: master
build-days-to-keep: 7
build-timeout: 15
branch: master
build-days-to-keep: 7
build-timeout: 15
+ disable-job: false
git-url: https://github.com
git-url: https://github.com
+ github-url: 'https://github.com'
project-pattern: '**'
stream: master
submodule-recursive: true
project-pattern: '**'
stream: master
submodule-recursive: true
@@
-96,7
+85,10
@@
# Job Configuration #
#####################
# Job Configuration #
#####################
+ disabled: '{disable-job}'
+
builders:
builders:
+ - lf-infra-pre-build
- lf-rtd-trigger-build:
rtd-build-url: '{rtd-build-url}'
rtd-token: '{rtd-token}'
- lf-rtd-trigger-build:
rtd-build-url: '{rtd-build-url}'
rtd-token: '{rtd-token}'
@@
-128,8
+120,10
@@
<<: *lf_rtd_merge
properties:
<<: *lf_rtd_merge
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
triggers:
- timed: 'H H * * *'
triggers:
- timed: 'H H * * *'
@@
-140,13
+134,15
@@
trigger-phrase: '^remerge$'
only-trigger-phrase: true
status-context: 'RTD Merge'
trigger-phrase: '^remerge$'
only-trigger-phrase: true
status-context: 'RTD Merge'
- permit-all:
fals
e
+ permit-all:
tru
e
github-hooks: true
org-list:
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
included-regions: '{obj:github_included_regions}'
github-hooks: true
org-list:
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
included-regions: '{obj:github_included_regions}'
+ white-list-target-branches:
+ - '{branch}'
#############
# RTD VERIFY#
#############
# RTD VERIFY#
@@
-162,11
+158,14
@@
branch: master
build-days-to-keep: 7
build-timeout: 15
branch: master
build-days-to-keep: 7
build-timeout: 15
+ disable-job: false
doc-dir: docs/_build/html
git-url: '$GIT_URL/$PROJECT'
doc-dir: docs/_build/html
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
project-pattern: '**'
stream: master
submodule-recursive: true
project-pattern: '**'
stream: master
submodule-recursive: true
+ gerrit-skip-vote: false
gerrit_verify_triggers:
- patchset-created-event:
gerrit_verify_triggers:
- patchset-created-event:
@@
-175,13
+174,16
@@
exclude-no-code-change: false
- draft-published-event
- comment-added-contains-event:
exclude-no-code-change: false
- draft-published-event
- comment-added-contains-event:
- comment-contains-value:
recheck$
+ comment-contains-value:
'^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)$'
#####################
# Job Configuration #
#####################
#####################
# Job Configuration #
#####################
+ disabled: '{disable-job}'
+
builders:
builders:
+ - lf-infra-pre-build
- lf-rtd-verify:
doc-dir: '{doc-dir}'
- lf-rtd-verify:
doc-dir: '{doc-dir}'
@@
-213,6
+215,11
@@
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
file-paths: '{obj:gerrit_trigger_file_paths}'
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
file-paths: '{obj:gerrit_trigger_file_paths}'
+ skip-vote:
+ successful: '{gerrit-skip-vote}'
+ failed: '{gerrit-skip-vote}'
+ unstable: '{gerrit-skip-vote}'
+ notbuilt: '{gerrit-skip-vote}'
- job-template:
name: '{project-name}-rtd-verify-{stream}'
- job-template:
name: '{project-name}-rtd-verify-{stream}'
@@
-223,8
+230,10
@@
<<: *lf_rtd_verify
properties:
<<: *lf_rtd_verify
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-237,9
+246,11
@@
triggers:
- github-pull-request:
triggers:
- github-pull-request:
- trigger-phrase: '^
recheck
$'
+ trigger-phrase: '^
(recheck|reverify)
$'
only-trigger-phrase: false
status-context: 'RTD Verify'
permit-all: true
github-hooks: true
included-regions: '{obj:github_included_regions}'
only-trigger-phrase: false
status-context: 'RTD Verify'
permit-all: true
github-hooks: true
included-regions: '{obj:github_included_regions}'
+ white-list-target-branches:
+ - '{branch}'