• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • m2release-plugin
    • None
    • All

      By adding the same functionality as the "M2 Extra Steps" many different scenarios could be solved.

      • build multiple release artifacts from the same SCM tag (e.g. add to post additonal post steps: mvn clean deploy -PprofileX, mvn clean deploy -PprofileY)
      • one could use the "changes:announcement-mail" to send the release notes in a post step
      • ...

          [JENKINS-6601] add pre- and post- extra steps

          This patch adds extra pre and post release steps to the m2release plugin.
          Since Hudson 1.366 it supports all available builders (e.g. ANT, Maven, Shell, BatchFile...). Befor this version Shell is not supported - to support Shell too, 'hudson.tasks.Shell' in the core has been changed to support @DataBoundConstructor. Therefore the recomended Hudson version would be 1.366.

          Please have a look at the patch and let me know if I should change/add anything

          Dominik Bartholdi added a comment - This patch adds extra pre and post release steps to the m2release plugin. Since Hudson 1.366 it supports all available builders (e.g. ANT, Maven, Shell, BatchFile...). Befor this version Shell is not supported - to support Shell too, 'hudson.tasks.Shell' in the core has been changed to support @DataBoundConstructor. Therefore the recomended Hudson version would be 1.366. Please have a look at the patch and let me know if I should change/add anything

          I have implemented this in the core (released with 1.433)

          Dominik Bartholdi added a comment - I have implemented this in the core (released with 1.433)

            domi Dominik Bartholdi
            domi Dominik Bartholdi
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: