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

Unable to automatically discover and build git tags with Jenkins multibranch pipelines and the Git Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • * Jenkins v2.141
      * Basic Branch Build Strategies Plugin v1.0.1
      * Git plugin v3.9.1
      * Bitbucket Server v5.13.1
      * Webhook to Jenkins for Bitbucket Server v4.4.4
      * Windows Server 2012 R2

      I configured a multibranch pipeline job to discover and build branches and tags for my git repository hosted in Bitbucket Server. New branches and commits are discovered and built correctly but new tags remain undiscovered. I can force tag discovery if I initiate a manual scan in Jenkins or I click "Trigger Jenkins" in the Webhook to Jenkins for Bitbucket Server UI for my repository.

       

      My Jenkins Configuration

      My Webhook to Jenkins for Bitbucket Server Configuration

       

      Originally, I wanted to use the Bitbucket Branch Source Plugin rather than the Git Plugin but in that case JENKINS-51063 prevents tag discovery and build. Is there a similar issue with the Git Plugin?

            Unassigned Unassigned
            iamrewt Ryan Taylor
            Votes:
            7 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: