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

Enable/disable build step by one click

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      It is uncomfortable to temporary disable a build step in job configuration. The
      only way currently to remove it. It would be good to have an enable/disable
      checkbox.

        Attachments

          Issue Links

            Activity

            liptga liptga created issue -
            Hide
            mdonohue mdonohue added a comment -

            Email thread on this topic: http://n4.nabble.com/Disable-build-step-
            td387600.html

            Show
            mdonohue mdonohue added a comment - Email thread on this topic: http://n4.nabble.com/Disable-build-step- td387600.html
            Show
            bap bap added a comment - https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin Use the condition "Always" to enable and "Never" to disable.
            Hide
            jglick Jesse Glick added a comment -

            JENKINS-9616 is another option.

            Show
            jglick Jesse Glick added a comment - JENKINS-9616 is another option.
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-9616 [ JENKINS-9616 ]
            Hide
            mkrstic Milan Krstic added a comment -

            Conditional step plugin is not useful as you can't add it to an existing step.
            Enable/disable build step checkbox would be extremely useful.

            Show
            mkrstic Milan Krstic added a comment - Conditional step plugin is not useful as you can't add it to an existing step. Enable/disable build step checkbox would be extremely useful.
            oleg_nenashev Oleg Nenashev made changes -
            Component/s core [ 15593 ]
            Component/s www [ 15484 ]
            Hide
            oleg_nenashev Oleg Nenashev added a comment - - edited

            A new extension point in the Core is required for the case.
            UI implementation should be done by plugins.

            I also think that the serializable "Disabled" flag/enum could be useful for all extension points and descriptors.

            Show
            oleg_nenashev Oleg Nenashev added a comment - - edited A new extension point in the Core is required for the case. UI implementation should be done by plugins. I also think that the serializable "Disabled" flag/enum could be useful for all extension points and descriptors.
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-27658 [ JENKINS-27658 ]
            septunm michal septun made changes -
            Rank Ranked higher
            Hide
            hujirong Jirong Hu added a comment -

            Disable/Enable a step temperately is very useful in trying different ways to implement a step during the testing. IBM BuildForge has this feature.

            Show
            hujirong Jirong Hu added a comment - Disable/Enable a step temperately is very useful in trying different ways to implement a step during the testing. IBM BuildForge has this feature.
            oleg_nenashev Oleg Nenashev made changes -
            Labels 2.0
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Added to the consideration for Jenkins 2.0

            Show
            oleg_nenashev Oleg Nenashev added a comment - Added to the consideration for Jenkins 2.0
            danielbeck Daniel Beck made changes -
            Assignee Daniel Beck [ danielbeck ]
            ionutdiaconu ionut diaconu made changes -
            Rank Ranked lower
            danielbeck Daniel Beck made changes -
            Labels 2.0 2.0-planned
            danielbeck Daniel Beck made changes -
            Labels 2.0-planned 2.0 2.0-planned
            kohsuke Kohsuke Kawaguchi made changes -
            Labels 2.0 2.0-planned 2.0 2.0-rejected
            danielbeck Daniel Beck made changes -
            Labels 2.0 2.0-rejected 2.0-rejected
            Hide
            sdarwin Sam Darwin added a comment -

            As Milan said "Enable/disable build step checkbox would be extremely useful."

            Show
            sdarwin Sam Darwin added a comment - As Milan said "Enable/disable build step checkbox would be extremely useful."
            Hide
            danielbeck Daniel Beck added a comment -

            Sam Darwin Nobody disputes that. It's just a matter of priorities and finding the time to do this. As usual, contributions welcome

            FWIW I had a prototype of this in https://github.com/daniel-beck/jenkins/commit/18d434fa6bf8b3efc8b0b39cb9cc064368dc4bec but it was shot down by Jesse Glick, complete with explanation how to do it right.

            Show
            danielbeck Daniel Beck added a comment - Sam Darwin Nobody disputes that. It's just a matter of priorities and finding the time to do this. As usual, contributions welcome FWIW I had a prototype of this in https://github.com/daniel-beck/jenkins/commit/18d434fa6bf8b3efc8b0b39cb9cc064368dc4bec but it was shot down by Jesse Glick , complete with explanation how to do it right.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 134892 ] JNJira + In-Review [ 174223 ]
            Hide
            danielbeck Daniel Beck added a comment -

            FTR any build step with descriptor overriding newInstance will not be compatible with my previous approach AFAICT. It's not just the ones with readResolve.

            Show
            danielbeck Daniel Beck added a comment - FTR any build step with descriptor overriding newInstance will not be compatible with my previous approach AFAICT. It's not just the ones with readResolve .
            danielbeck Daniel Beck made changes -
            Assignee Daniel Beck [ danielbeck ]
            Hide
            danielbeck Daniel Beck added a comment -

            I don't expect I'll have the time to implement this any time soon.

            Show
            danielbeck Daniel Beck added a comment - I don't expect I'll have the time to implement this any time soon.

              People

              • Assignee:
                Unassigned
                Reporter:
                liptga liptga
              • Votes:
                25 Vote for this issue
                Watchers:
                26 Start watching this issue

                Dates

                • Created:
                  Updated: