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
Use include-raw instead of escape for sigul macros
[releng/global-jjb.git]
/
jjb
/
lf-maven-jobs.yaml
diff --git
a/jjb/lf-maven-jobs.yaml
b/jjb/lf-maven-jobs.yaml
index
6112f91
..
7a57470
100644
(file)
--- a/
jjb/lf-maven-jobs.yaml
+++ b/
jjb/lf-maven-jobs.yaml
@@
-11,7
+11,7
@@
jobs:
- gerrit-maven-clm
- gerrit-maven-merge
jobs:
- gerrit-maven-clm
- gerrit-maven-merge
- - gerrit-maven-
releas
e
+ - gerrit-maven-
stag
e
- gerrit-maven-verify
- gerrit-maven-verify-dependencies
- gerrit-maven-verify
- gerrit-maven-verify-dependencies
@@
-25,7
+25,7
@@
jobs:
- github-maven-clm
- github-maven-merge
jobs:
- github-maven-clm
- github-maven-merge
- - github-maven-
releas
e
+ - github-maven-
stag
e
- github-maven-verify
- job-group:
- github-maven-verify
- job-group:
@@
-162,6
+162,7
@@
build-days-to-keep: 30 # 30 days for troubleshooting purposes
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
build-days-to-keep: 30 # 30 days for troubleshooting purposes
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
@@
-172,7
+173,7
@@
stream: master
submodule-recursive: true
stream: master
submodule-recursive: true
- nexus
-iq-scan-
patterns:
+ nexus
_iq_scan_
patterns:
- '**/*.ear'
- '**/*.jar'
- '**/*.tar.gz'
- '**/*.ear'
- '**/*.jar'
- '**/*.tar.gz'
@@
-223,7
+224,7
@@
stage: '{nexus-iq-stage}'
application-type: 'manual'
application-id: '{project-name}'
stage: '{nexus-iq-stage}'
application-type: 'manual'
application-id: '{project-name}'
- scan-patterns: '{
nexus-iq-scan-
patterns}'
+ scan-patterns: '{
obj:nexus_iq_scan_
patterns}'
fail-build-network-error: true
- job-template:
fail-build-network-error: true
- job-template:
@@
-271,7
+272,7
@@
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-287,7
+288,7
@@
- timed: 'H H * * 6'
- github-pull-request:
trigger-phrase: '^run-clm$'
- timed: 'H H * * 6'
- github-pull-request:
trigger-phrase: '^run-clm$'
- only-trigger-phrase:
fals
e
+ only-trigger-phrase:
tru
e
status-context: 'CLM'
permit-all: true
github-hooks: true
status-context: 'CLM'
permit-all: true
github-hooks: true
@@
-295,6
+296,8
@@
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
+ white-list-target-branches:
+ - '{branch}'
#########################
# Maven Javadoc Publish #
#########################
# Maven Javadoc Publish #
@@
-311,6
+314,7
@@
build-days-to-keep: 30 # 30 days in case a release takes long to get approved.
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
build-days-to-keep: 30 # 30 days in case a release takes long to get approved.
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
@@
-388,7
+392,7
@@
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-413,6
+417,8
@@
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
+ white-list-target-branches:
+ - '{branch}'
########################
# Maven Javadoc Verify #
########################
# Maven Javadoc Verify #
@@
-429,6
+435,7
@@
build-days-to-keep: 30 # 30 days in case a release takes long to get approved.
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
build-days-to-keep: 30 # 30 days in case a release takes long to get approved.
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
@@
-504,7
+511,7
@@
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-522,6
+529,8
@@
status-context: 'Maven Javadoc Verify'
permit-all: true
github-hooks: true
status-context: 'Maven Javadoc Verify'
permit-all: true
github-hooks: true
+ white-list-target-branches:
+ - '{branch}'
###############
# Maven Merge #
###############
# Maven Merge #
@@
-539,6
+548,7
@@
build-timeout: 60
cron: 'H H * * 0' # push fresh snapshot weekly
git-url: '$GIT_URL/$PROJECT'
build-timeout: 60
cron: 'H H * * 0' # push fresh snapshot weekly
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy
@@
-638,7
+648,7
@@
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-663,14
+673,16
@@
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
- '{github-org}'
white-list: '{obj:github_pr_whitelist}'
admin-list: '{obj:github_pr_admin_list}'
+ white-list-target-branches:
+ - '{branch}'
included-regions: '{obj:github_included_regions}'
included-regions: '{obj:github_included_regions}'
-###############
##
-# Maven
Releas
e #
-###############
##
+###############
+# Maven
Stag
e #
+###############
-- lf_maven_
release: &lf_maven_releas
e
- name: lf-maven-
releas
e
+- lf_maven_
stage: &lf_maven_stag
e
+ name: lf-maven-
stag
e
######################
# Default parameters #
######################
# Default parameters #
@@
-681,6
+693,7
@@
build-timeout: 60
cron: ''
git-url: '$GIT_URL/$PROJECT'
build-timeout: 60
cron: ''
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy
@@
-692,7
+705,7
@@
gerrit_release_triggers:
- comment-added-contains-event:
gerrit_release_triggers:
- comment-added-contains-event:
- comment-contains-value:
build
release$
+ comment-contains-value:
stage-
release$
#####################
# Job Configuration #
#####################
# Job Configuration #
@@
-718,11
+731,11
@@
- lf-provide-maven-settings-cleanup
- job-template:
- lf-provide-maven-settings-cleanup
- job-template:
- name: '{project-name}-maven-
releas
e-{stream}'
- id: gerrit-maven-
releas
e
+ name: '{project-name}-maven-
stag
e-{stream}'
+ id: gerrit-maven-
stag
e
<<: *lf_maven_common
# yamllint disable-line rule:key-duplicates
<<: *lf_maven_common
# yamllint disable-line rule:key-duplicates
- <<: *lf_maven_
releas
e
+ <<: *lf_maven_
stag
e
scm:
- lf-infra-gerrit-scm:
scm:
- lf-infra-gerrit-scm:
@@
-746,17
+759,17
@@
branch-pattern: '**/{branch}'
- job-template:
branch-pattern: '**/{branch}'
- job-template:
- name: '{project-name}-maven-
releas
e-{stream}'
- id: github-maven-
releas
e
+ name: '{project-name}-maven-
stag
e-{stream}'
+ id: github-maven-
stag
e
<<: *lf_maven_common
# yamllint disable-line rule:key-duplicates
<<: *lf_maven_common
# yamllint disable-line rule:key-duplicates
- <<: *lf_maven_
releas
e
+ <<: *lf_maven_
stag
e
properties:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
properties:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-775,6
+788,8
@@
status-context: 'Maven Release'
permit-all: true
github-hooks: true
status-context: 'Maven Release'
permit-all: true
github-hooks: true
+ white-list-target-branches:
+ - '{branch}'
###############
# Maven Sonar #
###############
# Maven Sonar #
@@
-792,6
+807,7
@@
build-timeout: 60
cron: 'H H * * 6' # run weekly
git-url: '$GIT_URL/$PROJECT'
build-timeout: 60
cron: 'H H * * 6' # run weekly
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
java-version: openjdk8
mvn-global-settings: global-settings
mvn-opts: ''
@@
-908,7
+924,7
@@
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-926,6
+942,8
@@
status-context: 'Maven Sonar'
permit-all: true
github-hooks: true
status-context: 'Maven Sonar'
permit-all: true
github-hooks: true
+ white-list-target-branches:
+ - '{branch}'
################
# Maven Verify #
################
# Maven Verify #
@@
-942,6
+960,7
@@
build-days-to-keep: 7
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
build-days-to-keep: 7
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy
@@
-1034,7
+1053,7
@@
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- lf-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{git
hub
-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
scm:
- lf-infra-github-scm:
@@
-1052,6
+1071,8
@@
status-context: 'Maven Verify'
permit-all: true
github-hooks: true
status-context: 'Maven Verify'
permit-all: true
github-hooks: true
+ white-list-target-branches:
+ - '{branch}'
included-regions: '{obj:github_included_regions}'
#############################
included-regions: '{obj:github_included_regions}'
#############################
@@
-1069,6
+1090,7
@@
build-days-to-keep: 7
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
build-days-to-keep: 7
build-timeout: 60
git-url: '$GIT_URL/$PROJECT'
+ github-url: 'https://github.com'
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy
java-version: openjdk8
mvn-global-settings: global-settings
mvn-goals: clean deploy