Issue Type: Improvement Improvement
Assignee: yossis
Components: artifactory
Created: 24/Sep/14 8:40 PM
Description:

When using the maven release plugin, it updates the <scm><tag>...</tag></scm> value to match the scm tag for that release.

So for example:

<project>
  ...
  <version>4.2-SNAPSHOT</version>
  <scm>
    <developerConnection>scm:git:https://github.com/MY_TEAM/my_project.git</developerConnection>
    <tag>HEAD</tag>
  </scm>
  ...
</project>

is changed to

<project>
  ...
  <version>4.2</version>
  <scm>
    <developerConnection>scm:git:https://github.com/MY_TEAM/my_project.git</developerConnection>
    <tag>my_project_4.2</tag>
  </scm>
  ...
</project>

for the release and then to

<project>
  ...
  <version>4.3-SNAPSHOT</version>
  <scm>
    <developerConnection>scm:git:https://github.com/MY_TEAM/my_project.git</developerConnection>
    <tag>HEAD</tag>
  </scm>
  ...
</project>

for the next snapshot version.

This is really handy for being able to instantly track a jar (with pom file) back to the source it was released from.

Improvement: Add this behavior to the Jenkins Artifactory plugin.

Project: Jenkins
Priority: Minor Minor
Reporter: mhaefele
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to