We have the this issue when performing a Release Build using the Release
Plugin on a parameterized build.

Jenkins v1.470
Jenkins Subversion Plug-in v1.44
Release Plug-in v2.2

String Parm: SVN_PATH
Default: branches/Shell_Monitoring_FP_OS_Update

Repository URL:
https://svn.xxx.com/svn/InventorySystems/TC_STR_Shell/${SVN_PATH}/ShellSource
Release parameters - List Subversion Tags
Name: SVN_PATH
Repository URL: https://svn.xxx.com/svn/InventorySystems/TC_STR_Shell
Tags filter: tags.*

When performing a standard build, both SVN_URL and SVN_REVISION are set...
env.SSH_CONNECTION=xxx.140.1.50 34646 xxx.140.1.46 22
env.SVN_PATH=branches/Shell_Monitoring_FP_OS_Update
env.SVN_REVISION=73525
env.SVN_URL=https\://svn.xxx.com/svn/InventorySystems/TC_STR_Shell/branches/Shell_Monitoring_FP_OS_Update/ShellSource
env.USER=tomcat
env.WORKSPACE=/opt/xxx/jenkins/workspace/BOIS-TC_STR_Shell

When using the Release link, they are not...
env.SSH_CONNECTION=xxx.140.1.50 33829 xxx.140.1.46 22
env.SVN_PATH=tags/Shell_Monitoring_FP_OS_Update_2012_12_10_01
env.USER=tomcat
env.WORKSPACE=/opt/xxx/var/jenkins/workspace/BOIS-TC_STR_Shell




--
View this message in context: 
http://jenkins.361315.n4.nabble.com/JIRA-JENKINS-14797-SVN-URL-and-SVN-REVISION-environment-variables-are-missing-tp4637971p4649370.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

Reply via email to