I want to pull specified branch with tag.
So i write job as following
job('abc'){
scm{
git('ssh://git@abc.git', 'refs/tags/test-tag1')
}
}
But it does not work.
I inputted branch Name or commit into 2nd param, it will pull the specified branch.
It can work with tag from the document of [Jenkins Job DSL Plugin].
I want to know why it doesn't work, Or my job is wrong.