The environment variables %SVN_REVISION% and %SVN_URL% aren't set when I use a SVN repository running on a Visual SVN server. All other SVN interactions work fine, e.g. checkout and change detection. Running the job with another SVN server works too.
Freestyle job configuration:
Repository URL: http://SERVERNAME:81/svn/Projects/ProjectName__5_9_1_3/trunk
Local module directory: trunk
Repository depth option: infinity
Output of windows set command in the build operation (SVN_REVISION and SVN_URL missing)
...
SESSIONNAME=RDP-Tcp#0
SystemDrive=C:
SystemRoot=C:\Windows
...
System information
The Jenkins error log put me on the right track:
WARNUNG: no revision found corresponding to http://SERVERNAME/svn/Project/trunk; known: [http://servername/svn/Project/trunk]
It seems that Jenkins/subversion/SVNKit is case sensitive and in my case I wrote the server name in capital letters by mistake.