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

Build exactly the commit from the webhook

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None

      We need to make sure that commit SHA that triggered the build via webhook is the same SHA that the repo is being checkout out.

      Use case:

      Dev-1 merges changes to repo 'a'. Within seconds, Dev-2 merges changes to repo 'a'.

      Expectation:

      Each commit triggers a separate build based on the webhook SHA that triggered the build.

      Current result:

      SHA of Jenkinsfile might be not the same as checkout code, since the merges might happen within seconds of each other.

            Unassigned Unassigned
            varsho Oleg Varshavsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: