Make stripping of "SNAPSHOT" in poms optional 63/15363/4
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Mon, 22 Apr 2019 21:42:08 +0000 (14:42 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 25 Apr 2019 17:21:33 +0000 (10:21 -0700)
commitae3d96d6534ffc1e1de2e07ff9a4689bec11a90d
tree231a83b11c25852b7a6c5b8a1161cb6d647bcc3a
parent10a3854d4a96bd6845d7f4791ac564cfec7cb750
Make stripping of "SNAPSHOT" in poms optional

When maven-versions-plugin is set to "true", the job will
use the versions plugin to update the versions in the pom.xml
files and will not need this step in maven-patch-release.sh to
happen.
This change DOES NOT affect current jobs which do not use the
maven versions plugin as this variable is set to false by default.
Update maven-versions-plugin variable in the parameters to be able
to parse the value in the scripts.

Change-Id: Ic25197012fd0f23a859159bb86369feb8a02b9c2
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
jjb/lf-maven-jobs.yaml
releasenotes/notes/patch-release-strip-optional-89d49b3b3bf1c511.yaml [new file with mode: 0644]
shell/maven-patch-release.sh