In my previous freestyle projects after checking out from multiple repositories I could use the environment variable ${SVN_REVISION_1} to get the revision number of the first repository.
If, however, I use the following groovy script in a workflow job, I get "null" back.
Am I doing something wrong here?
node('unix') {
sh "echo ${env.SVN_REVISION}"
sh "echo ${env.SVN_REVISION_1}"
}