summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-java.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/global-templates-java.yaml')
-rw-r--r--jjb/global-templates-java.yaml545
1 files changed, 196 insertions, 349 deletions
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index c8d566500..0c82e70c2 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -2,8 +2,8 @@
- job-template:
# Job template for Java verify jobs
#
- # The purpose of this job template is to run "maven clean install" for
- # projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean install -DskipTests=true
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
@@ -66,8 +66,8 @@
- job-template:
# Job template for Java verify jobs
#
- # The purpose of this job template is to run "maven clean install" for
- # projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean install
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
@@ -129,11 +129,15 @@
# Job template for Java verify jobs running checkstyle at the end
# When checkstyle will be fully incorporated, it is meant to replace
# '{project-name}-{stream}-verify-java-checkstyle'
- # The purpose of this job template is to run "maven clean install" for
- # projects using this template.
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean install
+ #
+ # This job publishes checkstyle results.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-verify-java-checkstyle'
project-type: freestyle
concurrent: true
@@ -183,8 +187,8 @@
- job-template:
# Job template for Java verify jobs that takes a maven template
#
- # The purpose of this job template is to run "maven clean install -P {x}"
- # for projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean install -P {mvn-profile}
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
@@ -245,8 +249,10 @@
- job-template:
# Job template for Java verify jobs with POM not at the root
#
- # The purpose of this job template is to run "maven clean install" for
- # projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean install
+ #
+ # This job supports subprojects.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
@@ -311,78 +317,13 @@
- job-template:
# Job template for Java daily release jobs
#
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy with Sonar scans
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
- name: '{project-name}-{stream}-release-java-daily'
-
- project-type: freestyle
- node: '{build-node}'
- maven-deploy-properties:
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 11 AM UTC
- - timed: 'H 11 * * *'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- properties:
- - '{maven-deploy-properties}'
- java-opts:
- - '-Xmx4096m -XX:MaxPermSize=512m'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- publishers:
- - infra-shiplogs:
- maven-version: '{maven-version}'
-- job-template:
- # Job template for Java daily release jobs
- #
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
- name: '{project-name}-{stream}-release-java-daily-no-sonar'
+ name: '{project-name}-{stream}-release-java-daily'
project-type: freestyle
node: '{build-node}'
@@ -444,11 +385,16 @@
# Job template for Java daily release jobs running checkstyle at the end
# When checkstyle will be fully incorporated, it is meant to replace
# '{project-name}-{stream}-release-java-daily'
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
+ #
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy with Sonar scans
+ #
+ # This job publishes checkstyle results.
+ # This job uses a conditional regex match step to set versions.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-release-java-daily-checkstyle'
project-type: freestyle
node: '{build-node}'
@@ -501,7 +447,7 @@
global-settings-type: cfp
- maven-target:
maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
+ goals: 'clean deploy -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties: '{obj:mvn_properties}'
settings: '{mvn-settings}'
@@ -516,89 +462,14 @@
- job-template:
# Job template for Java daily release jobs
#
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven set versions
+ # 2. maven clean deploy with Sonar scans
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
- name: '{project-name}-{stream}-release-version-java-daily-no-sonar'
-
- project-type: freestyle
- node: '{build-node}'
- maven-deploy-properties:
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 11 AM UTC
- - timed: 'H H(10-17) * * *'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
- - inject:
- properties-file: version.properties
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'versions:set versions:update-child-modules versions:commit -B'
- properties:
- - 'newVersion=${{release_version}}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'clean deploy -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- properties:
- - '{maven-deploy-properties}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- publishers:
- - infra-shiplogs:
- maven-version: '{maven-version}'
-
-- job-template:
- # Job template for Java daily release jobs
- #
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
- # This template supports subprojects.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
- name: '{project-name}-{stream}-{subproject}-release-version-java-daily-no-sonar'
+ name: '{project-name}-{stream}-release-version-java-daily'
project-type: freestyle
node: '{build-node}'
@@ -643,7 +514,6 @@
properties-file: version.properties
- maven-target:
maven-version: '{maven-version}'
- pom: '{pom}'
goals: 'versions:set versions:update-child-modules versions:commit -B'
properties:
- 'newVersion=${{release_version}}'
@@ -654,7 +524,6 @@
- maven-target:
maven-version: '{maven-version}'
- pom: '{pom}'
goals: 'clean deploy -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties:
@@ -671,87 +540,13 @@
- job-template:
# Job template for Java daily release jobs
#
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven set versions
+ # 2. maven clean deploy -P {mvn-profile} with Sonar scans
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
- name: '{project-name}-{stream}-release-version-java-daily'
-
- project-type: freestyle
- node: '{build-node}'
- maven-deploy-properties:
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 11 AM UTC
- - timed: 'H H(10-17) * * *'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - inject:
- properties-file: version.properties
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'versions:set versions:update-child-modules versions:commit -B'
- properties:
- - 'newVersion=${{release_version}}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- - maven-target:
- maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- properties:
- - '{maven-deploy-properties}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- publishers:
- - infra-shiplogs:
- maven-version: '{maven-version}'
-
-- job-template:
- # Job template for Java daily release jobs
- #
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
name: '{project-name}-{stream}-release-version-profile-java-daily'
project-type: freestyle
@@ -807,7 +602,7 @@
- maven-target:
maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar -P {mvn-profile} -Dsonar.host.url=${{SONAR}} -B
+ goals: 'clean deploy -P {mvn-profile} -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties:
- '{maven-deploy-properties}'
@@ -824,14 +619,15 @@
- job-template:
# Job template for Java daily release jobs with POM not at the root
#
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy with Sonar scans
+ #
+ # This job supports subprojects.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
# pom: name/location of the pom.xml file relative to the workspace
-
name: '{project-name}-{stream}-{subproject}-release-java-daily'
project-type: freestyle
@@ -876,7 +672,7 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
+ goals: 'clean deploy -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties:
- '{maven-deploy-properties}'
@@ -894,14 +690,16 @@
- job-template:
# Job template for Java daily release jobs with POM not at the root
#
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven set versions
+ # 2. maven clean deploy with Sonar scans
+ #
+ # This job supports subprojects.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
# pom: name/location of the pom.xml file relative to the workspace
-
name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
project-type: freestyle
@@ -959,80 +757,10 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
- properties:
- - '{maven-deploy-properties}'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- publishers:
- - infra-shiplogs:
- maven-version: '{maven-version}'
-
-- job-template:
- # Job template for Java daily release jobs with POM not at the root
- #
- # The purpose of this job template is to run "maven version && maven clean
- # deploy" for projects using this template.
- #
- # Required Variables:
- # branch: git branch (eg. stable/lithium or master)
- # pom: name/location of the pom.xml file relative to the workspace
-
-
- name: '{project-name}-{stream}-{subproject}-release-java-daily-no-sonar'
-
- project-type: freestyle
- node: '{build-node}'
- maven-deploy-properties:
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'
-
- wrappers:
- - infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- # 11 AM UTC
- - timed: 'H 11 * * *'
- - gerrit-trigger-release-manually:
- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
-
- builders:
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
-
- - maven-target:
- maven-version: '{maven-version}'
- pom: '{pom}'
goals: 'clean deploy -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties:
- '{maven-deploy-properties}'
- java-opts:
- - '-Xmx4096m -XX:MaxPermSize=512m'
settings: '{mvn-settings}'
settings-type: cfp
global-settings: 'global-settings'
@@ -1045,11 +773,12 @@
- job-template:
# Job template for Java merge jobs
#
- # The purpose of this job template is to run "maven clean deploy" for
- # projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-merge-java'
project-type: freestyle
@@ -1105,12 +834,15 @@
- job-template:
# Job template for Java merge jobs based on
# '{project-name}-{stream}-merge-java'
- # The purpose of this job template is to run "maven clean deploy" for
- # projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
+ #
+ # This project supports maven properties.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
# maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-merge-properties-java'
project-type: freestyle
@@ -1167,11 +899,12 @@
- job-template:
# Job template for Java merge jobs that takes a maven template
#
- # The purpose of this job template is to run "maven clean deploy -P {x}"
- # for projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy -P {mvn-profile}
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-merge-profile-java'
project-type: freestyle
@@ -1239,6 +972,7 @@
# branch: git branch
# dependencies: fully qualified upstream job name to trigger on
# this may be ''
+
name: '{project-name}-{stream}-downstream-merge-java'
project-type: freestyle
@@ -1297,8 +1031,10 @@
- job-template:
# Job template for Java merge jobs with POM not at the root
#
- # The purpose of this job template is to run "maven clean deploy" for
- # projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
+ #
+ # This job supports subprojects.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
@@ -1360,6 +1096,15 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for Docker daily jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. docker push
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-docker-java-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1417,14 +1162,18 @@
- job-template:
# Job template for building & pushing docker images
#
- # The purpose of this job template is to run :
+ # The purpose of this job template is to run:
# 1. login to the docker registry
- # 2. do a clean deploy on the specified profile
+ # 2. maven clean deploy on the specified profile
+ #
+ # This job uses a conditional regex match step to set versions.
+ # This template supports maven properties.
#
# Required Variables:
# pom: name/location of the pom.xml file relative to the workspace
# profile: the docker profile defined in the pom
# maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-docker-java-properties-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1487,6 +1236,16 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. run a specified shell builder
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-docker-java-shell-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1545,6 +1304,17 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. inject a version.properties file and set versions
+ # 3. run a specified shell builder
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-docker-java-version-shell-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1616,6 +1386,19 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. inject a version.properties file and set versions
+ # 3. run a specified shell builder
+ #
+ # This template supports subprojects.
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1689,6 +1472,18 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. inject a version.properties file and set versions
+ # 3. run a docker push
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # profile: the docker profile defined in the pom
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-docker-version-java-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1757,6 +1552,19 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images
+ #
+ # The purpose of this job template is to run:
+ # 1. inject a version.properties file and set versions
+ # 2. login to the docker registry
+ # 3. run a docker push
+ #
+ # This job supports subprojects.
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1827,6 +1635,17 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images for AAI specific repos
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. run maven goals
+ # 3. run include-docker-push.sh
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-aai-docker-java-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1903,6 +1722,19 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images for AAI specific repos
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. run maven goals
+ # 3. run include-docker-push.sh
+ #
+ # This job supports subprojects
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -1981,17 +1813,18 @@
- job-template:
# Job template for Java daily release jobs
#
- # The purpose of this job template is to run
- # - change version in all POM files to the release version specified
- # in version.properties. This is done using a script instread of
- # the mvn version plugin that assumes some specific parent structure.
- # - runs maven clean deploy sonar
+ # The purpose of this job template is to run:
+ # 1. inject a version.properties file and set versions
+ # 2. change version in all POM files to the release version specified
+ # in version.properties. This is done using a script instread of
+ # the mvn version plugin that assumes some specific parent structure
#
# The POM files are required to use the Maven staging plugin so the deploy
# does not deploy directly to the release repo.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-release-version2-java-daily'
project-type: freestyle
@@ -2042,8 +1875,7 @@
- maven-target:
maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar site:site site:stage-deploy
- -Dsonar.host.url=${{SONAR}} -B
+ goals: 'clean deploy site:site site:stage-deploy -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties:
- '{maven-deploy-properties}'
@@ -2059,11 +1891,11 @@
- job-template:
# Job template for Java daily release jobs
#
- # The purpose of this job template is to run
- # - change version in all POM files to the release version specified
+ # The purpose of this job template is to run:
+ # 1. inject a version.properties file and set versions
+ # 2. change version in all POM files to the release version specified
# in version.properties. This is done using a script instread of
- # the mvn version plugin that assumes some specific parent structure.
- # - runs maven clean deploy sonar
+ # the mvn version plugin that assumes some specific parent structure
#
# The POM files are required to use the Maven staging plugin so the deploy
# does not deploy directly to the release repo.
@@ -2126,8 +1958,7 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean deploy sonar:sonar site:site site:stage-deploy
- -Dsonar.host.url=${{SONAR}} -B
+ goals: 'clean deploy site:site site:stage-deploy -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties:
- '{maven-deploy-properties}'
@@ -2143,12 +1974,12 @@
- job-template:
# Job template for Java daily release jobs
#
- # The purpose of this job template is to run
- # - change version in all POM files to the release version specified
+ # The purpose of this job template is to run:
+ # 1. inject a version.properties file and set versions
+ # 2. change version in all POM files to the release version specified
# in version.properties. This is done using a script instread of
# the mvn version plugin that assumes some specific parent structure
- # This version does NOT change the version within the <parent> tag.
- # - runs maven clean deploy sonar
+ # This version does NOT change the version within the <parent> tag
#
# The POM files are required to use the Maven staging plugin so the deploy
# does not deploy directly to the release repo.
@@ -2211,8 +2042,7 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean deploy sonar:sonar site:site site:stage-deploy
- -Dsonar.host.url=${{SONAR}} -B
+ goals: 'clean deploy site:site site:stage-deploy -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
properties:
- '{maven-deploy-properties}'
@@ -2232,11 +2062,16 @@
# succeeds as there's no need for new documentaiton
# if the build job fails.
#
+ # The purpose of this job template is to run:
+ # 1. maven set versions
+ # 2. maven clean site
+ #
# Those parameters should be set :
# - site-pom : the pom file that contains the site confiration
# - trigger-job : the name of the project that triggers this job
# upon success. The job name can be
# parameterized.
+
name: '{project-name}-{stream}-stage-site-java'
project-type: freestyle
node: '{build-node}'
@@ -2300,13 +2135,14 @@
maven-version: '{maven-version}'
- job-template:
- # Job template for Java merge jobs
+ # Job template for Java merge jobs for SDC specific repos
#
- # The purpose of this job template is to run "maven clean deploy" for
- # projects using this template.
+ # The purpose of this job template is to run:
+ # 1. maven clean deploy
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-sdc-merge-java'
project-type: freestyle
@@ -2361,6 +2197,17 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for building & pushing docker images for AAI specific repos
+ #
+ # The purpose of this job template is to run:
+ # 1. login to the docker registry
+ # 2. run maven clean install goals skipping tests
+ # 3. run maven goals
+ #
+ # Required Variables:
+ # pom: name/location of the pom.xml file relative to the workspace
+ # maven-properties: properties passed to maven
+
name: '{project-name}-{stream}-aai-docker-java-version-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'