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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            Giovanni Gargiulo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: