How to checkout a git tag

19 views
Skip to first unread message

Shalin Patel

unread,
Aug 24, 2020, 7:43:40 PM8/24/20
to go-cd
I am writing a pipeline to test upgrade flow with following steps.
1) checkout master branch
2) checkout old git tag v0.0.1
3) checkout latest git tag v0.0.3

I need to checkout code at each git tag with different path or pipeline and run upgrade process from v0.0.1 to v0.0.3.  I do not see a way to checkout git tag on gocd material. how can I checkout a git tag?


Ashwanth Kumar

unread,
Aug 24, 2020, 8:38:44 PM8/24/20
to go...@googlegroups.com
Try specifying the tag name in the branch parameter of Git material. 

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/e7cb2e3b-0852-484d-9f81-0889ea348697n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages