Paramterized build "List subversion tags" unable to use in rrepoURl

1,946 views
Skip to first unread message

06v...@gmail.com

unread,
Jun 21, 2013, 2:50:34 AM6/21/13
to jenkins...@googlegroups.com
Hi,
I am using parameterized build for  "List Subversion tags" to populate all the tags in SVN. I want to check the source based on tag selected from this dropdown.
I have given the name for this field is svn-tag, I am able to select the tag from svn tags populated, but i am not able to checkout the source this tag, Repository URL unable to expand this value I have selected.
In my Job i have configured Repository URL as http://test.com/tags/${svn-tag}/source. It is showing URL like this in the build log 

Why Repository URL unable to expand this variable? any other solution to this?

Thanks
Virg


Peter Davis

unread,
Jun 24, 2013, 7:30:19 PM6/24/13
to jenkins...@googlegroups.com
Upgrading to Subversion Plugin v1.50 fixed this for me.  (I was having the same problem with Subversion Plugin 1.45, Jenkins 1.505.)

-Peter

06v...@gmail.com

unread,
Jun 25, 2013, 5:39:51 AM6/25/13
to jenkins...@googlegroups.com
Thank you so much for your suggestion. I have upgraded subversion plugin to 1.50 and jenkins 1.517. But still I having same issue. I am using jenkins on windows. Is it making the difference? I am checkout source like this http://test.com/tags/${svn-tag}/source where svn-tag is the name of this tags dropdown list? is this notation is correct?
Thanks in advance

Thanks
Virg

Peter Davis

unread,
Jun 25, 2013, 12:58:25 PM6/25/13
to jenkins...@googlegroups.com
You're right, Virg.  It mysteriously fixed the problem for ONE of my jobs. Then I created another job attempting to use 'List Subversion tags' and now I see the same polling error again.  I've tried different syntaxes, ${SVN_TAG} vs $SVN_TAG vs $TAG; I've tried restarting, reloading, deleting/adding the parameter, disabling/enabling polling...

Anybody else use List Subversion tags with polling?  What's the magic incantation?

Regards,

Peter Davis
(206) 713-7352
dav...@gmail.com




--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/T5r4w7y8cpM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Peter Davis

unread,
Jun 25, 2013, 2:05:20 PM6/25/13
to jenkins...@googlegroups.com
It seems you simply have to manually launch a build before the default subversion tag setting will take effect for polling.

Good luck,

Peter Davis

06v...@gmail.com

unread,
Jun 26, 2013, 2:17:54 PM6/26/13
to jenkins...@googlegroups.com
Hi,
Thank you. i am triggering build manually from jenkins. Still i have same issue. I have configured scm poll like this H 1 * * *. Any more changes?
\
Thanks 

06v...@gmail.com

unread,
Jun 28, 2013, 12:48:59 AM6/28/13
to jenkins...@googlegroups.com
Finally i got this worked.  Really strange solution. The field name for this should be in only capital letters eg SVN_TAG and in the repository URL it should be $SVN_TAG 
Then SVN is able to expand this name and able to checkout.

Virg
Reply all
Reply to author
Forward
0 new messages