The workaround suggested in #1 only works if you have shell access to the server that runs Jenkins, and if you can login with the user that runs Jenkins (either directly or with sudo).
In a hosted environment, this will not be possible.

As a workaround, I used another plugin: Extensible Choice.
In that plugin I have a Groovy script that calls a PHP script on another server that is under my control. That PHP script executes `git ls-remote -t` on the webserver, which gets a list of tags. Some strings parsing is then done and the Extensible Choice plugin is fed with a list of tags that is presented as a dropdown list in Jenkins.
More details in this StackOverflow question: http://stackoverflow.com/questions/28543482/jenkins-git-parameter-plugin-cannot-fetch-tags

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to