diff options
author | Anaël Closson <ac2550@intl.att.com> | 2017-03-15 11:19:40 +0100 |
---|---|---|
committer | Anaël Closson <ac2550@intl.att.com> | 2017-03-15 11:19:52 +0100 |
commit | 0916684bbd43419396a3d13ee6ff9d3c43b4cfe7 (patch) | |
tree | edeff92c18284dc000f2d1b778a85bd188ea6ea8 /jjb | |
parent | 014a81232fc1fc72b06eee33fecbe98fbbec70ef (diff) |
Use proper version
Change-Id: I9932967a3a085fa29297fd2d0e5ad4941e402f50
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
Diffstat (limited to 'jjb')
-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}' |