Inside a jenkins 2 pipeline I do the following to checkout some code:

> svn 'svn://example.com/project'

On the console output I see:

> Updating svn://example.com/project at revision '2017-03-10T16:43:00.322 +0200'
> At revision 817


How can I get the revision number (in this case "817") in a variable?


thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2f43eec9-250c-488b-b540-92c8fb9642ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to