It would be great if the gerrit code review plugin could discover tags (the git plugin have support for it).

      After a quick look in the code I suspect that code around below "TODO" in AbstractGerritSCMSource.java need some changes.

                    if (context.wantTags()) {
                      // TODO
                    } 

       

       

          [JENKINS-56661] Add suppot to discover tags

          Good point

          Luca Domenico Milanesio added a comment - Good point

          John V added a comment -

          I think that this might already be working? At least in my pipeline log all tags are discovered and checked for a Jenkinsfile (don't have any tags with a Jenkinsfile so cannot say if it actually works).

          Maybe we could get the "Discover branches" and "Discover tags" options like in the git source?

          John V added a comment - I think that this might already be working? At least in my pipeline log all tags are discovered and checked for a Jenkinsfile (don't have any tags with a Jenkinsfile so cannot say if it actually works). Maybe we could get the "Discover branches" and "Discover tags" options like in the git source?

            lucamilanesio Luca Domenico Milanesio
            accojohannes Johannes Carlsson
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: