jenkinsci / jenkinsci/conditional-buildstep-plugin
[JENKINS-45547] Unable to add nested conditional steps
- Dominant language
- Java
- Stars
- 17
- Forks
- 39
- Avg merge
- 23h 17m
- Merged PRs (30d)
- 1
Description
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:
- Create a new freestyle job
- add a new 'conditional steps (multiple)' build step.
- click 'add step to condition' and then notice there is no option to add 'conditional steps (multiple)'
---
Originally reported by
jalberts, imported from: Unable to add nested conditional steps
domi
Raw content of original issue
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:
- Create a new freestyle job
- add a new 'conditional steps (multiple)' build step.
- click 'add step to condition' and then notice there is no option to add 'conditional steps (multiple)'
environment
```
New docker container of jenkins:alpine 2.46.3
conditional build step 1.3.6
```
1 attachment
- [conditional_steps_bug.png](https://issues.jenkins.io/secure/attachment/38890/conditional_steps_bug.png)
> 
Contributor guide
Research direction
No source file or test is named. Start by reproducing the UI flow in Jenkins 2.46.3 with conditional build step 1.3.6, then inspect the conditional-buildstep-plugin implementation that defines the available steps. Done means the “conditional steps (multiple)” option appears when adding a step inside another conditional step and nested configurations can be saved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100