• Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • m2release-plugin
    • None

      It would be extremely useful if the m2release plugin supported the multi-configuration aka matrix job type.
      This would run mvn release:prepare on a single node followed by mvn release:perform on all the nodes in the matrix.
      This is useful when producing different artifacts for each matrix axis, in my case platform specific code depending on the build executor label.

      The only sensible workaround for this is to use neither the m2release or matrix builds - have a separate job for each platform and batch tasks to run release:prepare and release:perform.

          [JENKINS-9943] Support releases on Matrix/Multi-Config Bulids

          James Nord added a comment -

          this would result in multiple deployments of at least on artifact (the aggregator POM). re-deploying any release is a bad thing to do in maven - and if you use a repository manager it should be setup to disallow it.

          James Nord added a comment - this would result in multiple deployments of at least on artifact (the aggregator POM). re-deploying any release is a bad thing to do in maven - and if you use a repository manager it should be setup to disallow it.

          James Nord added a comment -

          I am not convinced that this would be valid for maven or how this could even work.

          James Nord added a comment - I am not convinced that this would be valid for maven or how this could even work.

          howama added a comment -

          Would it be possible to run the release on a single configuration (either nominated at release time or in config).

          Our current use case is that we would like to use the matrix builds to run webdriver based tests on multiple browsers, but still want to make releases via jenkins

          howama added a comment - Would it be possible to run the release on a single configuration (either nominated at release time or in config). Our current use case is that we would like to use the matrix builds to run webdriver based tests on multiple browsers, but still want to make releases via jenkins

            Unassigned Unassigned
            howama howama
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: