-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.249.2
Job-DSL-plugin 1.77
When I use the "disable removed jobs" feature of the Job DSL plugin, it does not work with multibranch jobs. The job is correctly detected as an unreferenced item, but it is not disabled.
seeder job log (missing Playground/SNo/DT2578-multibranch under Disabled items):
07:38:10 Unreferenced items:
07:38:10 GeneratedJob{name='Playground'}
07:38:10 GeneratedJob{name='Playground/SNo'}
07:38:10 GeneratedJob{name='Playground/SNo/DT2578-multibranch'}
07:38:10 GeneratedJob{name='Playground/SNo/DT2578-pipelinejob'}
07:38:10 Disabled items:
07:38:10 GeneratedJob{name='Playground/SNo/DT2578-pipelinejob'}
Also looks like the problem is only for the option DISABLE, with the option DELETE working properly:
Checked in Jenkins 2.375.3 and plugin version 1.81.