Unable to trigger a build via webhook push - when there is a fast forward commit (no new commit)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Build is not getting triggered via webhook push (/git/notifyCommit)  from gitlab when there is a fast forward commit (i.e., the same SHA is being added to the target branch that was there on source branch). 

      Our requirement is that we are promoting changes from one branch to another and expecting the build to be triggered for every merge. In some scenarios that merge is a fast-forward commit (i.e., same SHA getting pushed to target branch) and in these scenarios the build is not getting triggered.

      As per https://issues.jenkins.io/browse/JENKINS-56156 it seems once a SHA-1 is build then the same SHA-1 is not considered to be build again even though it is a different branch.

      Please help us know if we have option to overcome this limitation.

            Assignee:
            Unassigned
            Reporter:
            Naseer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: