• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • New docker container of jenkins:alpine 2.46.3
      conditional build step 1.3.6

      I noticed the other day that I am unable to add a conditional build step as a step to a conditional build step (ie. nested conditional build steps).

      I've actually been doing nested conditional build steps for over a year using the job dsl plugin without issue.  Sometimes, 4 levels deep.

      Steps to reproduce:

      1. Create a new freestyle job
      2. add a new 'conditional steps (multiple)' build step.
      3. click 'add step to condition' and then notice there is no option to add 'conditional steps (multiple)'

       

          [JENKINS-45547] Unable to add nested conditional steps

          John Alberts added a comment -

          I noticed the type was changed from 'bug' to 'new feature'.  Does this mean that it was not intentional that nested conditional build steps works flawlessly when configured without the UI?  This seems like it is a UI bug since it works without the UI.

           

          John Alberts added a comment - I noticed the type was changed from 'bug' to 'new feature'.  Does this mean that it was not intentional that nested conditional build steps works flawlessly when configured without the UI?  This seems like it is a UI bug since it works without the UI.  

          yes, you are right, it was never intended to work with nested conditions

          Dominik Bartholdi added a comment - yes, you are right, it was never intended to work with nested conditions

          Mark Cariddi added a comment -

          So this is not supported?   I can't do it via the UI or via my DSL.

          Mark Cariddi added a comment - So this is not supported?   I can't do it via the UI or via my DSL.

          John Alberts added a comment -

          Nested conditional steps definitely works via the job dsl plugin.  We have probably 100's of jobs configured that way for quite a long time via job dsl and never even realized it wasn't possible via the UI until just a few weeks ago.

           

          John Alberts added a comment - Nested conditional steps definitely works via the job dsl plugin.  We have probably 100's of jobs configured that way for quite a long time via job dsl and never even realized it wasn't possible via the UI until just a few weeks ago.  

          until now, this is not supported - It might not be a big thing to support, but it just has not been done...

          Dominik Bartholdi added a comment - until now, this is not supported - It might not be a big thing to support, but it just has not been done...

            domi Dominik Bartholdi
            jalberts John Alberts
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: