-
Bug
-
Resolution: Unresolved
-
Blocker
-
2.504.1
Couldn't load the git tag dynamically.
code:
def gettags = ("git ls-remote -t -h git@bitbucket.org:companyname/dash.git").execute() return gettags.text.readLines().collect { it.split()[1].replaceAll('refs/heads/', '').replaceAll('refs/tags/', '').replaceAll("\\^\\{\\}", '') }