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

Give an option to disable automatic tagging

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • git-plugin
    • None

    Description

      Currently the Git plugin always creates an annotated tag at the start of the build. As a side effect it is not possible to use the "git describe --dirty" command to identify the Git version going in the build if we don't push back the tags at the end of the build.

      We purposely don't want to push the tags created by Hudson, as there will be simply too many of them and adding no value. There might be cases where we'd want to do this but on rare occasions.

      It would be very useful to add an option to disable the automatic creation of a Git tag at the start of the build. Right now this is not possible and handicaps or complicates our ability to easily and unambiguously identify our builds.

      Attachments

        Issue Links

          Activity

            prenaud76 Patrick Renaud created issue -

            Downgraded to Minor after successful workaround consisting of deleting the tag in the very first step of the job.

            prenaud76 Patrick Renaud added a comment - Downgraded to Minor after successful workaround consisting of deleting the tag in the very first step of the job.
            prenaud76 Patrick Renaud made changes -
            Field Original Value New Value
            Priority Major [ 3 ] Minor [ 4 ]
            abayer Andrew Bayer made changes -
            Link This issue duplicates JENKINS-5676 [ JENKINS-5676 ]
            abayer Andrew Bayer made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 138824 ] JNJira + In-Review [ 204880 ]

            People

              abayer Andrew Bayer
              prenaud76 Patrick Renaud
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: