kulfy
kulfy

Reputation: 27

Manipulating parametrized variables in a Jenkins SVN url

Looking for some tips on how to edit the REVISION variable in a SVN URL, specifically execute a substring on ${REVISION} to derive exact name of the SVN branch.

https://server/path/myproject${REVISION}

Do these variables follow bash syntax or Java expression syntax or something else altogether?

Upvotes: 0

Views: 279

Answers (1)

wp78de
wp78de

Reputation: 18950

Judging from the source the of SVNLogFilter on Github, the Jenkins SVN plugin does not use bash but java.util.regex.Pattern regular expressions.

Java regex pattern documentation.

Upvotes: 1

Related Questions