ignore-committer-strategy-plugin prevents Builds for MRs with late commits

XMLWordPrintable

      We use github als Git Server. If we commit to a created MR, we wanted the jenkins to build the MR too. But the ignore-commiter-strategy-plugin prevents this build (it works if we remove this plugin from the pipeline). 

      I think the problem is, that in the MR check (with the hypothetic merge) he finds no "commit". The loop in LineNumber 135 isn't executed and the "fallback" in Line 170 creates the result of this plugin. 

      Log Examples (all hashes shortend): 

      Case: Allow builds when a changeset contains non-ignored author(s) = true (our normal configuration)

       

      Changes detected: MR-151 (d7d665+0e1eb495 → d7d665+4f060645)
      Ignored authors: [jenkins@mydomain.com]
      All commits in the changeset are made by excluded authors, build is false
      No automatic build triggered for MR-151 

      Case: Allow builds when a changeset contains non-ignored author(s) = false (used for testing)

      Changes detected: MR-151 (d7d665+0e1eb495 → d7d665+4f0606452)
      Ignored authors: [jenkins@mydomain.com]
      All commits in the changeset are made by non-excluded authors, build is true
      Scheduled build for branch: MR-151 

       

       

            Assignee:
            Bernard Baltrusaitis
            Reporter:
            Florian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: