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
Merge "Make packer-cloud-env variable configurable"
[releng/global-jjb.git]
/
jjb
/
lf-maven-jobs.yaml
diff --git
a/jjb/lf-maven-jobs.yaml
b/jjb/lf-maven-jobs.yaml
index
6b80969
..
3f6de2e
100644
(file)
--- a/
jjb/lf-maven-jobs.yaml
+++ b/
jjb/lf-maven-jobs.yaml
@@
-18,7
+18,7
@@
# for any project ci that is using github.
jobs:
# for any project ci that is using github.
jobs:
- - g
errit
-maven-clm
+ - g
ithub
-maven-clm
- github-maven-release
####################
- github-maven-release
####################
@@
-34,10
+34,12
@@
# build-node: The node to run build on.
# jenkins-ssh-credential: Credential to use for SSH. (Generally should
# be configured in defaults.yaml)
# build-node: The node to run build on.
# jenkins-ssh-credential: Credential to use for SSH. (Generally should
# be configured in defaults.yaml)
- # settings-file: The name of settings file containing credentials for
- # the project.
- # global-settings-file: The name of the Maven global settings to use for
- # Maven configuration.
+ # mvn-settings: The name of settings file containing credentials for
+ # the project.
+ #
+ # Optional parameters:
+ # mvn-global-settings: The name of the Maven global settings to use for
+ # Maven configuration. (default: global-settings)
project-type: freestyle
node: '{build-node}'
project-type: freestyle
node: '{build-node}'
@@
-50,8
+52,8
@@
branch: master
build-timeout: 15
git-url: '$GIT_URL/$PROJECT'
branch: master
build-timeout: 15
git-url: '$GIT_URL/$PROJECT'
- global-settings-file: global-settings
java-version: openjdk8
java-version: openjdk8
+ mvn-global-settings: global-settings
mvn-opts: ''
mvn-params: ''
mvn-version: mvn33
mvn-opts: ''
mvn-params: ''
mvn-version: mvn33
@@
-72,19
+74,28
@@
project: '{project}'
branch: '{branch}'
stream: '{stream}'
project: '{project}'
branch: '{branch}'
stream: '{stream}'
- - lf-infra-maven-parameters
+ - lf-infra-maven-parameters:
+ mvn-opts: '{mvn-opts}'
+ mvn-params: '{mvn-params}'
+ mvn-version: '{mvn-version}'
+ # Staging repos do not make sense for CLM jobs so set it blank.
+ staging-profile-id: ''
wrappers:
- lf-infra-wrappers:
build-timeout: '{build-timeout}'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
wrappers:
- lf-infra-wrappers:
build-timeout: '{build-timeout}'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ triggers:
+ # Build weekly on Saturdays
+ - timed: 'H H * * 6'
+
builders:
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-provide-maven-settings:
builders:
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-provide-maven-settings:
- global-settings-file: '{
global-settings-file
}'
- settings-file: '{
settings-file
}'
+ global-settings-file: '{
mvn-global-settings
}'
+ settings-file: '{
mvn-settings
}'
- shell: !include-raw-escape:
- ../shell/lftools-install.sh
- ../shell/common-variables.sh
- shell: !include-raw-escape:
- ../shell/lftools-install.sh
- ../shell/common-variables.sh
@@
-109,11
+120,13
@@
# build-node: The node to run build on.
# jenkins-ssh-credential: Credential to use for SSH. (Generally should
# be configured in defaults.yaml)
# build-node: The node to run build on.
# jenkins-ssh-credential: Credential to use for SSH. (Generally should
# be configured in defaults.yaml)
- # settings-file: The name of settings file containing credentials for
- # the project.
- # global-settings-file: The name of the Maven global settings to use for
- # Maven configuration.
+ # mvn-settings: The name of settings file containing credentials for
+ # the project.
# staging-profile-id: Profile ID of the project's Nexus staging profile.
# staging-profile-id: Profile ID of the project's Nexus staging profile.
+ #
+ # Optional parameters:
+ # mvn-global-settings: The name of the Maven global settings to use for
+ # Maven configuration. (default: global-settings)
project-type: freestyle
node: '{build-node}'
project-type: freestyle
node: '{build-node}'
@@
-126,8
+139,8
@@
branch: master
build-timeout: 30
git-url: '$GIT_URL/$PROJECT'
branch: master
build-timeout: 30
git-url: '$GIT_URL/$PROJECT'
- global-settings-file: global-settings
java-version: openjdk8
java-version: openjdk8
+ mvn-global-settings: global-settings
mvn-opts: ''
mvn-params: ''
mvn-version: mvn33
mvn-opts: ''
mvn-params: ''
mvn-version: mvn33
@@
-164,8
+177,8
@@
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-provide-maven-settings:
- lf-maven-install:
mvn-version: '{mvn-version}'
- lf-provide-maven-settings:
- global-settings-file: '{
global-settings-file
}'
- settings-file: '{
settings-file
}'
+ global-settings-file: '{
mvn-global-settings
}'
+ settings-file: '{
mvn-settings
}'
- lf-infra-create-netrc:
server-id: opendaylight-staging
- shell: !include-raw-escape:
- lf-infra-create-netrc:
server-id: opendaylight-staging
- shell: !include-raw-escape: