As requested re-opening this issue.

I defined a variable in the Environment Inject plugin (https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin)

VAR=https://PRETEND_URL.com

In the SCM 'Repository URL' box I have tried using ${VAR} and $VAR but neither works:

ERROR: Failed to check repository revision for $VAR
org.tmatesoft.svn.core.SVNException: svn: E125002: Malformed URL '$VAR'

However if I use this '$VAR' I get some success but then it rejects the "'":

ERROR: Failed to check repository revision for 'https://PRETEND_URL.com'
org.tmatesoft.svn.core.SVNException: svn: E125002: URL protocol is not supported ''https://PRETEND_URL.com''

(Please note I did try it with a genuine URL but have altered it for security here)

So it looks like it needs to be surrounded in single quotes to resolve but then the URL is not well formed...

Change By: Nick Brown (05/Sep/14 3:57 PM)
Resolution: Fixed
Status: Resolved Reopened
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