Refer to the git plugin release notes for git plugin version 3.4.0. You can restore the original behavior to request the tags (and to not honor refspec on initial clone) by adding the Advanced checkout options to the job definition.
Mark Waite On Wed, Aug 30, 2017 at 2:00 AM Sverre Moe <sverre....@gmail.com> wrote: > Have pipeline changed how it does checkout scm recently? > Previously I got tags with each checkout, but no longer. > I have to execute shell script 'git fetch --tags" after calling checkout > scm. > Makes me wonder what has changed, what else might have changed and how can > I get back the previous behaviour. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/c53ec2ae-d663-4a20-84ce-ab9e005f2255%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/c53ec2ae-d663-4a20-84ce-ab9e005f2255%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH85TOSSExdmLNJ1xjThcAR1CoHCFZ4z1-PSWnSF-%2BhPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.