summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-java.yaml
diff options
context:
space:
mode:
authorCarsten Lund <lund@research.att.com>2017-02-15 23:59:25 +0000
committerCarsten Lund <lund@research.att.com>2017-02-16 12:32:37 +0000
commitda8b6977e0385f99eaad70f60ac3259a36b2ba71 (patch)
tree65d32c1419fe5e86af44f54f9e5cc74855226956 /jjb/global-templates-java.yaml
parent8ea8864bea4756a79bebd733ff85b053c32a6e64 (diff)
Added complete set of DCAE Controller JJB jobs.
Change-Id: Ia78a79cf4e690a92af2b4211f45601ec553aa4b8 Signed-off-by: Carsten Lund <lund@research.att.com>
Diffstat (limited to 'jjb/global-templates-java.yaml')
-rw-r--r--jjb/global-templates-java.yaml68
1 files changed, 68 insertions, 0 deletions
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index af595b3b9..32770f276 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -184,6 +184,74 @@
global-settings-type: cfp
- 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'
+
+ project-type: freestyle
+ node: '{build-node}'
+ maven-deploy-properties:
+ properties:
+ - ecomp-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - ecomp-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - ecomp-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ # 11 AM UTC
+ - timed: 'H 11 * * *'
+
+ builders:
+ - provide-maven-settings:
+ global-settings-file: 'global-settings'
+ settings-file: '{mvn-settings}'
+
+ - inject:
+ properties-file: version.properties
+ - maven-target:
+ maven-version: 'mvn33'
+ pom: '{pom}'
+ goals: 'versions:set versions:update-child-modules versions:commit'
+ properties:
+ - 'newVersion=${{release_version}}'
+ settings: '{mvn-settings}'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+
+ - maven-target:
+ maven-version: 'mvn33'
+ goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.openecomp.org'
+ properties:
+ - '{maven-deploy-properties}'
+ settings: '{mvn-settings}'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+
+- job-template:
# Job template for Java merge jobs
#
# The purpose of this job template is to run "maven clean deploy" for