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
Add explanation of ReadTheDocs v3 projects
[releng/global-jjb.git]
/
jjb
/
lf-maven-jobs.yaml
diff --git
a/jjb/lf-maven-jobs.yaml
b/jjb/lf-maven-jobs.yaml
index
4b4ad8e
..
a01af95
100644
(file)
--- a/
jjb/lf-maven-jobs.yaml
+++ b/
jjb/lf-maven-jobs.yaml
@@
-142,6
+142,7
@@
github-url: "https://github.com"
java-version: openjdk8
mvn-global-settings: global-settings
github-url: "https://github.com"
java-version: openjdk8
mvn-global-settings: global-settings
+ mvn-goals: clean install
mvn-opts: ""
mvn-params: ""
mvn-version: mvn35
mvn-opts: ""
mvn-params: ""
mvn-version: mvn35
@@
-194,9
+195,8
@@
- lf-provide-maven-settings:
global-settings-file: "{mvn-global-settings}"
settings-file: "{mvn-settings}"
- lf-provide-maven-settings:
global-settings-file: "{mvn-global-settings}"
settings-file: "{mvn-settings}"
- - shell: !include-raw-escape:
- - ../shell/common-variables.sh
- - ../shell/sonatype-clm.sh
+ - lf-infra-sonatype-clm:
+ mvn-goals: "{mvn-goals}"
- lf-provide-maven-settings-cleanup
- shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
- nexus-iq-policy-evaluator:
- lf-provide-maven-settings-cleanup
- shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
- nexus-iq-policy-evaluator:
@@
-206,6
+206,17
@@
scan-patterns: "{obj:nexus_iq_scan_patterns}"
fail-build-network-error: true
scan-patterns: "{obj:nexus_iq_scan_patterns}"
fail-build-network-error: true
+- builder:
+ name: lf-infra-sonatype-clm
+ # Run a CLM scan build with Maven
+ builders:
+ - inject:
+ properties-content: |
+ MAVEN_GOALS={mvn-goals}
+ - shell: !include-raw-escape:
+ - ../shell/common-variables.sh
+ - ../shell/sonatype-clm.sh
+
- job-template:
name: "{project-name}-maven-clm-{stream}"
id: gerrit-maven-clm
- job-template:
name: "{project-name}-maven-clm-{stream}"
id: gerrit-maven-clm
@@
-833,7
+844,7
@@
gerrit_release_triggers:
- comment-added-contains-event:
gerrit_release_triggers:
- comment-added-contains-event:
- comment-contains-value: '^Patch Set\s+\d+:\s+stage-release\s*$'
+ comment-contains-value: '^Patch Set\s+\d+:\s+stage-
(maven-)?
release\s*$'
gerrit_trigger_file_paths:
- compare-type: ANT
gerrit_trigger_file_paths:
- compare-type: ANT
@@
-964,7
+975,7
@@
triggers:
- timed: "{obj:cron}"
- github-pull-request:
triggers:
- timed: "{obj:cron}"
- github-pull-request:
- trigger-phrase: "^
build
release$"
+ trigger-phrase: "^
stage-(maven-)?
release$"
only-trigger-phrase: true
status-context: "Maven Release"
permit-all: true
only-trigger-phrase: true
status-context: "Maven Release"
permit-all: true
@@
-1015,6
+1026,10
@@
# NO lf-maven-central
- lf-provide-maven-settings-cleanup
# NO lf-maven-central
- lf-provide-maven-settings-cleanup
+ gerrit_release_docker_triggers:
+ - comment-added-contains-event:
+ comment-contains-value: '^Patch Set\s+\d+:\s+stage-(docker-)?release\s*$'
+
- job-template:
name: "{project-name}-maven-docker-stage-{stream}"
id: gerrit-maven-docker-stage
- job-template:
name: "{project-name}-maven-docker-stage-{stream}"
id: gerrit-maven-docker-stage
@@
-1039,7
+1054,7
@@
- timed: "{obj:cron}"
- gerrit:
server-name: "{gerrit-server-name}"
- timed: "{obj:cron}"
- gerrit:
server-name: "{gerrit-server-name}"
- trigger-on: "{obj:gerrit_release_triggers}"
+ trigger-on: "{obj:gerrit_release_
docker_
triggers}"
projects:
- project-compare-type: ANT
project-pattern: "{project}"
projects:
- project-compare-type: ANT
project-pattern: "{project}"
@@
-1077,7
+1092,7
@@
triggers:
- timed: "{obj:cron}"
- github-pull-request:
triggers:
- timed: "{obj:cron}"
- github-pull-request:
- trigger-phrase: "^
build
release$"
+ trigger-phrase: "^
stage-(docker-)?
release$"
only-trigger-phrase: true
status-context: "Maven Release"
permit-all: true
only-trigger-phrase: true
status-context: "Maven Release"
permit-all: true
@@
-1105,6
+1120,7
@@
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
java-version: openjdk8
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
java-version: openjdk8
+ java-opts: ""
mvn-global-settings: global-settings
mvn-goals: clean install
mvn-opts: ""
mvn-global-settings: global-settings
mvn-goals: clean install
mvn-opts: ""
@@
-1143,6
+1159,11
@@
name: ARCHIVE_ARTIFACTS
default: "{archive-artifacts}"
description: Artifacts to archive to the logs server.
name: ARCHIVE_ARTIFACTS
default: "{archive-artifacts}"
description: Artifacts to archive to the logs server.
+ - string:
+ name: JAVA_OPTS
+ default: "{java-opts}"
+ description: |
+ Java options. Example: -Xmx1024m
- string:
name: SONAR_MAVEN_GOAL
default: "{sonar-mvn-goal}"
- string:
name: SONAR_MAVEN_GOAL
default: "{sonar-mvn-goal}"