I created a pipeline job and would like to get the svn version number to enable further downstream processing in a call to a shell script. I am using a pipeline script simi
I ended up invoking a shell to get the svn revision number as follows
def svnVersionNumber = sh( script: "svn info --show-item last-changed-revision $url", returnStdout: true )
This was the only way I could get it to work correctly.