-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins: 2.359
OS: Ubuntu 20.04.4
Java: openjdk version "11.0.15"
Browser: Chrome 103.0.5060.114
Following the new design for configuration page added on https://issues.jenkins.io/browse/JENKINS-68282
The 'Build Triggers' button appears on the sidebar for freestyle jobs but missing for pipeline jobs.
freestyle job
pipeline job
PS> I'm not sure what's the required component for UI/UX bugs
/cc janfaracik
- is caused by
-
JENKINS-34005 Make WorkflowJob.triggers into a JobProperty
-
- Resolved
-
-
JENKINS-68282 New design for configure project page
-
- Closed
-
Hey, thanks for raising đź‘Ť
From what I can see, the issue is caused by Workflow-Job using a custom 'Build Triggers' component rather than the built in Jenkins one, this is then being inserted into wrong row set by Jenkins (these should be two separate containers for the sidebar logic to work).
There's a few potential solutions I can think of -
1. Use the standard Jenkins component
From what I can see the two components are the same (at the very least they have the same UI), I'm not too sure why the component was duplicated but there could be a totally valid reason for doing so.
2. If we can't use the standard Jenkins component, try and reorganise the `configure-entries.jelly` in Workflow-Job to separate the containers
This should work, although it'll depend on how Jenkins imports the entries into the config screen (I'm not too sure of how this process works/Jenkins forms can be very complicated)
3. Update Jenkins core to handle the section being in the wrong place
Least ideal solution as it'd be a workaround to the problem, but it would work.
Would be great to get some input on this jglick
Cheers