summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-java.yaml
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-02 16:43:10 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-10-02 16:57:41 -0700
commitf13258b575ba2d2d995a7028f3e1b137ea174840 (patch)
tree89c93cb905228168e883d443ae16392fdea99fc2 /jjb/global-templates-java.yaml
parent77494946627eaca9090ac2dc0c225ab6a3ba21b4 (diff)
Add {pom} variable for stage-site-java jobs
For versions:set step, if there is no pom.xml the job will assume a root pom.xml. This is not always valid like the case of portal/sdk. Need to add the pom variable so that the job picks up the defined pom.xml Change-Id: Icafcb51fc22e8de819701968b3846278f4299e44 Issue-ID: CIMAN-97 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'jjb/global-templates-java.yaml')
-rw-r--r--jjb/global-templates-java.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index 7ddd0707f..713ea2fd9 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -1975,6 +1975,7 @@
name: '{project-name}-{stream}-stage-site-java'
project-type: freestyle
node: '{build-node}'
+ pom: 'pom.xml'
properties:
- infra-properties:
@@ -2011,6 +2012,7 @@
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}}'