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

In jenkins pipeline a "checkout scm" now adds "--no-tags" instead of "--tags" for git projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • None

      I've recently updated a few jenkins plugins and I've noticed that the command that is issued when performing a `checkout scm` in a Jenkins pipeline is adding a `--no-tags` during a the `git fetch` operation, while in the past it was `git fetch --tags`.

      This is preventing our tagging system from working properly.

      Was this change implemented on purpose? Is there a way to pass a param to manually opt-in for the tags?

       

      Thanks,

      Gio

            Unassigned Unassigned
            nemo83 Giovanni Gargiulo
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: