• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • m2release-plugin
    • None
    • Platform: All, OS: All

      be able to provide arbitrary parameters to the maven release command line. (not
      merely versions like today).

      Suggestion:
      Configure it like release:prepare release:perform -Dusername=%USERNAME%
      -Dpassword=%PASSWORD% -DreleaseVersion=%RELEASEVERSION%
      -DdevelopmentVersion=%DEVELOPMENTVERSOIN% - or some other type of placeholders.
      This should lead you into a dialogue where you're prompted for username, pw, rel
      ver, and dev. ver for the release.

      This way you won't have to hardcode credentials into the hudson job configuration.

          [JENKINS-4690] Be able to arbitrary paramterize m2 releases

          send a pull request: https://github.com/jenkinsci/m2release-plugin/pull/3

          the pull request does not full follow the proposal of this issue, but enables to user to configure it the way he wants it.

          Dominik Bartholdi added a comment - send a pull request: https://github.com/jenkinsci/m2release-plugin/pull/3 the pull request does not full follow the proposal of this issue, but enables to user to configure it the way he wants it.

          Code changed in jenkins
          User: jtnord
          Path:
          .gitignore
          src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseAction.java
          src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseAction/index.jelly
          http://jenkins-ci.org/commit/m2release-plugin/a1ddf1da50f48bb7eabee11871ea33e25948262e
          Log:
          Merge pull request #3 from imod/build-params

          add support for build parameters in maven release

          In addition to the normal release parameters, the 'normal' build parameters are shown and can be modified too before triggering a release build.

          This fixes or supports the following currently open issues:

          • JENKINS-10127: M2 Release plugin ignores parameters from a parameterized build
          • JENKINS-4690: Be able to arbitrary paramterize m2 releases
          • JENKINS-4500: Make it possible to select a node to do the release on (together with the nodelabel-plugin)
          • JENKINS-4958: add switch for -DdryRun=true

          Compare: https://github.com/jenkinsci/m2release-plugin/compare/418a96c...a1ddf1d

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: jtnord Path: .gitignore src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseAction.java src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseAction/index.jelly http://jenkins-ci.org/commit/m2release-plugin/a1ddf1da50f48bb7eabee11871ea33e25948262e Log: Merge pull request #3 from imod/build-params add support for build parameters in maven release In addition to the normal release parameters, the 'normal' build parameters are shown and can be modified too before triggering a release build. This fixes or supports the following currently open issues: JENKINS-10127 : M2 Release plugin ignores parameters from a parameterized build JENKINS-4690 : Be able to arbitrary paramterize m2 releases JENKINS-4500 : Make it possible to select a node to do the release on (together with the nodelabel-plugin) JENKINS-4958 : add switch for -DdryRun=true Compare: https://github.com/jenkinsci/m2release-plugin/compare/418a96c...a1ddf1d

            Unassigned Unassigned
            davidkarlsen davidkarlsen
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: