• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • m2release-plugin
    • None

      Hi,

      we use today http://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin

      We like to switch to m2release-plugin, but one feature we are missing.

      The "Release Plugin" does lock the build after finishing and add a lock-comment with the version of the release. This is very useful if you have enabled to delete old builds.

      Can you add this nice feature in m2release?

      Thanks.

          [JENKINS-7272] Add lock the build like "Release Plugin" does

          James Nord added a comment -

          Locking the build will only save the console output - nothing else is of use as Hudson is unaware of the release build artifacts so won't record them anyway (JENKINS-7487)

          James Nord added a comment - Locking the build will only save the console output - nothing else is of use as Hudson is unaware of the release build artifacts so won't record them anyway ( JENKINS-7487 )

          anderius added a comment -

          The console output is exactly what I need. The artifacts I have in my Maven repository, but I want to be able to check the logs for past releases, just in case. The build would also, I guess, contain information about which user initiated the release.

          (and sorry about the duplicate, did not see this one.)

          anderius added a comment - The console output is exactly what I need. The artifacts I have in my Maven repository, but I want to be able to check the logs for past releases, just in case. The build would also, I guess, contain information about which user initiated the release. (and sorry about the duplicate, did not see this one.)

          Code changed in jenkins
          User: James Nord
          Path:
          src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java
          http://jenkins-ci.org/commit/m2release-plugin/5b5981bc796dbffed42de3dd4ddf6a5d47845458
          Log:
          JENKINS-9048
          JENKINS-7272
          Keep the release until the next release is made.

          TODO: make this configurable (keep all, keep last, keep none)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: James Nord Path: src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java http://jenkins-ci.org/commit/m2release-plugin/5b5981bc796dbffed42de3dd4ddf6a5d47845458 Log: JENKINS-9048 JENKINS-7272 Keep the release until the next release is made. TODO: make this configurable (keep all, keep last, keep none)

          James Nord added a comment -

          available in 0.8.0

          James Nord added a comment - available in 0.8.0

            Unassigned Unassigned
            azgard azgard
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: