[JIRA] [maven] (JENKINS-24869) POM_VERSION is not resetted

2014-09-26 Thread tobias.scha...@gmx.de (JIRA)














































tobias schaber
 updated  JENKINS-24869


POM_VERSION is not resetted
















Change By:


tobias schaber
(26/Sep/14 5:39 PM)




Labels:


maven



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [maven] (JENKINS-24869) POM_VERSION is not resetted

2014-09-25 Thread tobias.scha...@gmx.de (JIRA)














































tobias schaber
 created  JENKINS-24869


POM_VERSION is not resetted















Issue Type:


Bug



Assignee:


Unassigned


Components:


maven



Created:


25/Sep/14 6:58 PM



Description:


Hi,

I'm currently facing an issue with the variable $POM_VERSION.
I perform the following operations:

1. Clean Workspace
2. Checkout from Git (including the pom with Version 1.0.0)
3. Execute Shell (or execute maven goal, both leads to the same result):
   mvn versions:set -DnewVersion=${POM_VERSION}-${BUILD_NUMBER};

Now the POM-Version is set to e.g. 1.0.0-25.

4. Publish 1.0.0-25 to Nexus

So everything fine until now. I now Trigger the process the next time, but the variable $POM_VERSION still contains the value "1.0.0-25" from the last run, so the next artifact would be deployed as "1.0.0-25-26" and so on.

I tried many things line unsetting the variables or copying them into other temp variables but I did not found a solution for this.

Could you please check if POM_VERSION could be resetted at the beginning?

Kind regards,

Tobias




Environment:


Jenkins 1.581

Maven 3.0.5




Project:


Jenkins



Priority:


Minor



Reporter:


tobias schaber

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [maven] (JENKINS-24869) POM_VERSION is not resetted

2014-09-25 Thread tobias.scha...@gmx.de (JIRA)













































 
tobias schaber
 assigned  JENKINS-24869 to Unassigned



POM_VERSION is not resetted
















Automatic assign.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.