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

Do not add git tag action unless administrator enables it

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Git plugin 4.4.5 and earlier
      Jenkins 2.249.2 and earlier
    • Similar Issues:
    • Released As:
      git plugin 4.5.0

      Description

      The Jenkins git tag action applies a tag to the git repository in the Jenkins workspace based on the git commit used in the build that is applying the tag. That type of action made sense when using centralized repositories that automatically applied the tag to the centralized repository. Applying a git tag in an agent workspace doesn't have many practical uses.

      It mistakenly assumes that workspaces are persistent, when they are frequently ephemeral.

      It mistakenly assumes that a tag in a workspace does not need to be pushed somewhere else for visibility.

      It seems to require the workspace is on the Jenkins controller.

      Do not add the git tag action unless the Jenkins administrator specifically enables it. Add a global configuration option to add the git tag action so that it does not use space in the left side links in the default use case.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            markewaite Mark Waite
            Reporter:
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: