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-maven-jobs.yaml
diff --git
a/jjb/lf-maven-jobs.yaml
b/jjb/lf-maven-jobs.yaml
index
c89ba5b
..
c5fffb7
100644
(file)
--- a/
jjb/lf-maven-jobs.yaml
+++ b/
jjb/lf-maven-jobs.yaml
@@
-120,6
+120,7
@@
mvn-opts: ''
mvn-params: ''
mvn-version: mvn35
mvn-opts: ''
mvn-params: ''
mvn-version: mvn35
+ nexus-iq-namespace: '' # Recommend a trailing dash when set. Example: odl-
nexus-iq-stage: 'build'
stream: master
submodule-recursive: true
nexus-iq-stage: 'build'
stream: master
submodule-recursive: true
@@
-159,6
+160,7
@@
disabled: '{disable-job}'
builders:
disabled: '{disable-job}'
builders:
+ - lf-infra-pre-build
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-update-java-alternatives:
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-update-java-alternatives:
@@
-174,7
+176,7
@@
- nexus-iq-policy-evaluator:
stage: '{nexus-iq-stage}'
application-type: 'manual'
- nexus-iq-policy-evaluator:
stage: '{nexus-iq-stage}'
application-type: 'manual'
- application-id: '{project-name}'
+ application-id: '{
nexus-iq-namespace}{
project-name}'
scan-patterns: '{obj:nexus_iq_scan_patterns}'
fail-build-network-error: true
scan-patterns: '{obj:nexus_iq_scan_patterns}'
fail-build-network-error: true
@@
-287,6
+289,7
@@
disabled: '{disable-job}'
builders:
disabled: '{disable-job}'
builders:
+ - lf-infra-pre-build
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-update-java-alternatives:
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-update-java-alternatives:
@@
-301,7
+304,6
@@
- shell: !include-raw-escape:
- ../shell/common-variables.sh
- ../shell/maven-javadoc-generate.sh
- shell: !include-raw-escape:
- ../shell/common-variables.sh
- ../shell/maven-javadoc-generate.sh
- - ../shell/lftools-install.sh
- ../shell/maven-javadoc-publish.sh
- lf-provide-maven-settings-cleanup
- ../shell/maven-javadoc-publish.sh
- lf-provide-maven-settings-cleanup
@@
-415,6
+417,7
@@
disabled: '{disable-job}'
builders:
disabled: '{disable-job}'
builders:
+ - lf-infra-pre-build
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-update-java-alternatives:
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-update-java-alternatives:
@@
-536,6
+539,7
@@
disabled: '{disable-job}'
builders:
disabled: '{disable-job}'
builders:
+ - lf-infra-pre-build
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'
@@
-550,9
+554,7
@@
properties-content: |
NEXUS_CUT_DIRS={nexus-cut-dirs}
NEXUS_REPO={nexus-snapshot-repo}
properties-content: |
NEXUS_CUT_DIRS={nexus-cut-dirs}
NEXUS_REPO={nexus-snapshot-repo}
- - shell: !include-raw-escape:
- - ../shell/lftools-install.sh
- - ../shell/maven-fetch-metadata.sh
+ - shell: !include-raw-escape: ../shell/maven-fetch-metadata.sh
- lf-maven-build:
mvn-goals: '{mvn-goals}'
- lf-maven-deploy
- lf-maven-build:
mvn-goals: '{mvn-goals}'
- lf-maven-deploy
@@
-658,6
+660,7
@@
mvn-opts: ''
mvn-params: ''
mvn-version: mvn35
mvn-opts: ''
mvn-params: ''
mvn-version: mvn35
+ sign-artifacts: false
stream: master
submodule-recursive: true
stream: master
submodule-recursive: true
@@
-692,6
+695,7
@@
description: Nexus staging profile ID.
builders:
description: Nexus staging profile ID.
builders:
+ - lf-infra-pre-build
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'
@@
-702,11
+706,12
@@
settings-file: '{mvn-settings}'
- lf-infra-create-netrc:
server-id: '{mvn-staging-id}'
settings-file: '{mvn-settings}'
- lf-infra-create-netrc:
server-id: '{mvn-staging-id}'
- - shell: !include-raw-escape:
- - ../shell/lftools-install.sh
- - ../shell/maven-patch-release.sh
+ - shell: !include-raw-escape: ../shell/maven-patch-release.sh
- lf-maven-build:
mvn-goals: '{mvn-goals}'
- lf-maven-build:
mvn-goals: '{mvn-goals}'
+ - lf-sigul-sign-dir:
+ sign-artifacts: '{sign-artifacts}'
+ sign-dir: '$WORKSPACE/m2repo'
- lf-maven-stage
- lf-provide-maven-settings-cleanup
- lf-maven-stage
- lf-provide-maven-settings-cleanup
@@
-848,6
+853,7
@@
notbuilt: true
builders:
notbuilt: true
builders:
+ - lf-infra-pre-build
- lf-infra-maven-sonar:
java-version: '{java-version}'
mvn-settings: '{mvn-settings}'
- lf-infra-maven-sonar:
java-version: '{java-version}'
mvn-settings: '{mvn-settings}'
@@
-976,6
+982,7
@@
disabled: '{disable-job}'
builders:
disabled: '{disable-job}'
builders:
+ - lf-infra-pre-build
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'
@@
-984,8
+991,6
@@
- 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/lftools-install.sh
- lf-maven-build:
mvn-goals: '{mvn-goals}'
- lf-provide-maven-settings-cleanup
- lf-maven-build:
mvn-goals: '{mvn-goals}'
- lf-provide-maven-settings-cleanup
@@
-1097,6
+1102,7
@@
disabled: '{disable-job}'
builders:
disabled: '{disable-job}'
builders:
+ - lf-infra-pre-build
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-jacoco-nojava-workaround
- lf-maven-install:
mvn-version: '{mvn-version}'