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

    • 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

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

          Giovanni Gargiulo created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Giovanni Gargiulo made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Yury Zaytsev made changes -
          Attachment New: Screen Shot 2017-07-24 at 11.09.36.png [ 39005 ]
          Gabriele Catania made changes -
          Link New: This issue relates to JENKINS-67984 [ JENKINS-67984 ]

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

              Created:
              Updated:
              Resolved: