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

"Disable removed jobs" feature does not work with multibranch jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • job-dsl-plugin
    • 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'}

            Unassigned Unassigned
            svennoack Sven Noack
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: