-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins v2.138.3
Subversion plugin 2.12.1
Connecting to VisualSVN repositoried
Windows OS (Win 10)
Freestyle project job
Using Jenkins 2.138.3 and Subversion plugin on a windows machine. When doing a checkout from SVN server, SVN_REVISION environment variable isn't available as when trying to get the value all it return is empty string.
I have tried to use ${SVN_REVISION} & ${SVN_REVISION_1} but none of them return any revision number.
As suggested on stack overflow tried downgrading to subversion 2.10.3 but it still didnt work.
Additionally,
After i downgraded SVNPlugin and then updated it again i now manage to get the SVN revision being set.
However if i have an external set for the SVN repository i cannot access the external repository using SVN_REVISION_2
SVN_REVISION_1 now returns the revision of teh actual repository.
- is related to
-
JENKINS-54492 checkout scm information no longer injected into environment in pipeline job
- Closed