diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-03-15 14:19:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@openecomp.org> | 2017-03-15 14:19:31 +0000 |
commit | 1517beb5e24a6a186cebf98fa715021da1a643b2 (patch) | |
tree | 2579c59f2499b3b707c16b4f473b83fb333464bc | |
parent | adde0009284d1a2d1c240fb3913b628315f00f67 (diff) | |
parent | 0916684bbd43419396a3d13ee6ff9d3c43b4cfe7 (diff) |
Merge "Use proper version"
-rw-r--r-- | jjb/global-templates-java.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index a47ff00c2..5f2b0638a 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -992,6 +992,17 @@ - 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' + properties: + - 'newVersion=${{release_version}}' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp - maven-target: maven-version: '{maven-version}' |