[ https://issues.jenkins-ci.org/browse/JENKINS-12397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159290#comment-159290 ]
SCM/JIRA link daemon commented on JENKINS-12397: ------------------------------------------------ Code changed in jenkins User: Olivier Lamy Path: maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/config.jelly maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help-releaseEnvVar.html http://jenkins-ci.org/commit/jenkins/30c229f2245ff850909b318d0a18e348d32102ab Log: Merge pull request #380 from Delorien84/JENKINS-12397 JENKINS-12397: Skip deploying of artifacts when release build is running... good idea Thanks ! Compare: https://github.com/jenkinsci/jenkins/compare/4866198...30c229f > Avoid post-build depoy to Maven repository in release build > ----------------------------------------------------------- > > Key: JENKINS-12397 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12397 > Project: Jenkins > Issue Type: Bug > Components: m2release > Reporter: Kai Dyrssen > Assignee: teilo > > The Jenkins post-build feature "deploy to Maven repository" in conjunction > with a release build with m2release plugin leads to corrupt snapshot version > in Maven snapshot repository: > After the release build succeeds the post-build deploy deploys the new > development version pom-file as old development version to our maven snapshot > repository. > If possible the m2release plugin should disable the post-build deploy feature > in its release build. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira