Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40765

Make Release Plugin compatible with pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Allow to trigger release plugin from a pipeline dsl. It should be similar to trigger job's build.

      To support this the plugin would need to be refactored according to pipeline development instructions: https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md

        Attachments

          Activity

          Hide
          nfalco Nikolas Falco added a comment -

          The title of this issue it's misleading because it's not a real support to describe a steps and parameter of a release wrapper but enable call release job of of other non pipeline job. Since there is not documentation and a bug that prevent to have a pipeline syntax after spent 2g I realise this plugin could not be used to release a pipeline job with extra parameters and pre/post build steps

          Show
          nfalco Nikolas Falco added a comment - The title of this issue it's misleading because it's not a real support to describe a steps and parameter of a release wrapper but enable call release job of of other non pipeline job. Since there is not documentation and a bug that prevent to have a pipeline syntax after spent 2g I realise this plugin could not be used to release a pipeline job with extra parameters and pre/post build steps
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Mustafa Ulu Please create separate JIRA issues for it. Will try to process on the weekend, but no guarantee

          Show
          oleg_nenashev Oleg Nenashev added a comment - Mustafa Ulu Please create separate JIRA issues for it. Will try to process on the weekend, but no guarantee
          Hide
          mustafau Mustafa Ulu added a comment -

          I couldn't trigger parallel releases with latest version.

          Also "wait: false" didn't work.

          Show
          mustafau Mustafa Ulu added a comment - I couldn't trigger parallel releases with latest version. Also "wait: false" didn't work.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Released it in 2.7

          Show
          oleg_nenashev Oleg Nenashev added a comment - Released it in 2.7
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/java/hudson/plugins/release/SafeParametersAction.java
          src/main/java/hudson/plugins/release/pipeline/ReleaseStep.java
          src/main/java/hudson/plugins/release/pipeline/ReleaseStepExecution.java
          src/main/java/hudson/plugins/release/pipeline/ReleaseTriggerAction.java
          src/main/java/hudson/plugins/release/pipeline/ReleaseTriggerListener.java
          src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/DescriptorImpl/parameters.groovy
          src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/config.jelly
          src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/config.properties
          src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/help-job.html
          http://jenkins-ci.org/commit/release-plugin/82a1b5db58e2809efb6a0fe77915800cfba6bda2
          Log:
          JENKINS-40765 - Apply some fixes after the manual testing (#24)

          • Update Parent POM to the latest version
          • JENKINS-40765 - ReleaseStep#parameters.groovy should return proper message when specifying a Pipeline job
          • JENKINS-40765 - Cleanup support of folders in the release() step

          Just in case we need to change them

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/hudson/plugins/release/SafeParametersAction.java src/main/java/hudson/plugins/release/pipeline/ReleaseStep.java src/main/java/hudson/plugins/release/pipeline/ReleaseStepExecution.java src/main/java/hudson/plugins/release/pipeline/ReleaseTriggerAction.java src/main/java/hudson/plugins/release/pipeline/ReleaseTriggerListener.java src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/DescriptorImpl/parameters.groovy src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/config.jelly src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/config.properties src/main/resources/hudson/plugins/release/pipeline/ReleaseStep/help-job.html http://jenkins-ci.org/commit/release-plugin/82a1b5db58e2809efb6a0fe77915800cfba6bda2 Log: JENKINS-40765 - Apply some fixes after the manual testing (#24) Update Parent POM to the latest version JENKINS-40765 - Restore the broken SafeParameters action JENKINS-40765 - ReleaseStep#parameters.groovy should return proper message when specifying a Pipeline job JENKINS-40765 - Cleanup support of folders in the release() step JENKINS-40765 - Restrict the newly introduced classes Just in case we need to change them

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              estarter Alexey M
            • Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: