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

Issue when implementing ignoreCommitterStrategy approach via multibranch generator job (i.e, job-dsl way)

XMLWordPrintable

      I'm trying to implement ignoreCommitterStrategy approach via multibranch generator job (i.e, job-dsl way)
      since there are many existing multibranch-pipeline jobs and I try to achieve ignorecommitter stragegy inside branchsources of multibranch generator job

      After running seed job (i.e., multibranch generator job) I could see ignoreCommiter Strategy updated in existing multibranch pipeline jobs but still ignored author is not added. It means at this moment inside multibranch pipeline jobs -> config I have to manually click Add button and add ignored author list which is bit painful as we have many jobs.

      Any help on this is really appreciated.
      buildStrategies {
      ignoreCommitterStrategy

      { ignoredAuthors("sathya@xyz.com") allowBuildIfNotExcludedAuthor(false) }

      }

      Note: Had even tried with "au.com.versent.jenkins.plugins.ignoreCommitterStrategy"

       

            Unassigned Unassigned
            sathya1104 SathyaNarayanan Kumaraswamy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: