Output excerpt taken from a build shell script step for a non-decorated svn url:
U .
At revision 72666
[workspace] $ /bin/sh -xe /tmp/hudson1315590806389520477.sh
+ env
+ grep SVN
SVN_URL=http://urlpath
SVN_REVISION=72603
Then I add a string build parameter [REVISION] and modify the svn url to be in the form http://urlpath/@${REVISION}. For this test I set the value of my REVISION parameter to '71640'.
U .
At revision 71640
no revision recorded for http://urlpath/ in the previous build
[workspace] $ /bin/sh -xe /tmp/hudson6960655887912316261.sh
+ env
+ grep SVN
The result is the same if I hardcode the revision number as part of the url rather than parameterize it.
Environment: Jenkins 1.466, svn plugin 1.40.
Let me know if there is any additional information I can provide.
The issue has been fixed in 1.32. (
JENKINS-10942)Could you post the output of 'env | grep SVN' with/without @Revision ?