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

Multibranch pipeline with git tags rebuilds without SCM change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    • None
    • jenkinsci/blueocean 2.164.1

      I've created a multibranch pipeline that gets tags with the "Discover tags" option, and am filtering by name to include two items: "master" and "latest". "master" is the gitlab master branch, and "latest" is a tag pointing to the latest tagged commit (for example, if I have tags 1.0.0, 1.0.1, and 1.0.2, the "latest" tag would point to 1.0.2).

      Originally, "latest" does not automatically build (as is documented elsewhere). After I tell it to build, however, it continues to build every 10 minutes with the reason "Started by SCM change." There was no SCM change, and the hash of the latest changeset doesn't change between builds.

      On the other hand, the "master" branch only builds once (correctly).

            Unassigned Unassigned
            zlacelle Zach LaCelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: