I'm not sure I fully understand what you're asking, but it sounds to me
like you might do better to represent your SCM tag as a property in your
pom.xml. That property could be defined by an outside resource file or
even on the command line of the build. That way, it can be injected
into your pom.xml at the time you run the build.
On 05/14/2012 03:21 PM, José Ricardo wrote:
Could I setting values of scm plugin in the pom.xml through Jenkins
properties?
I´m using release plugin in my company, there are two branches and
when I´ll execute the release, I need to inform the scm issues
(the intention is modified the scm tag defined in my pom.xml, rewrite
the settings) the mode that it can generate the correct version of the
tag.
So, I tried the following instruction in my jenkins but it doesn´t
modified the scm tag defined in my pom.xml:
-X -Dresume=false release:clean release:prepare release:perform -
Dproject.scm.connection=scm:svn:172.10.10.30/svn/repPortal/branches/
2012/Branch_B
-Dproject.scm.developerConnection=scm:svn:172.10.10.30/svn/repPortal/
branches/2012/Branch_B
There´s a way to make this in Jenkins or this mode only has to be
setted manualy?