the 'git' step is one of the most important steps implemented for workflow.
However, there are many cases where I need to checkout the particular git tag, instead of the branch.
currently I have to do something like:
the main reason is I want to keep versioned workflow scripts on my repo and load a specific version of it. But I have also several other use cases when I need a tag from the git repository.
The notation above is actually too long and overcomplicated. Instead, I would expect to use the code like:
which is much shorter and similar to a typical git usage.
By other words, the step might support either 'branch' or 'tag' parameter. In some rare cases it would be nice also to have possibility to checkout a particular commit.
Would it be possible to add such a feature?
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Won't Fix [ 2 ]|
|Workflow||JNJira [ 161209 ]||JNJira + In-Review [ 196683 ]|
|Component/s||pipeline-general [ 21692 ]|
|Component/s||workflow-plugin [ 18820 ]|