Force Jenkins Subversion Plugin for Using the HEAD Version

I used Hudson to complete my projects and am now planning to upgrade to Jenkins.

The build server time is not synchronized with the development machines, and therefore the svn update does not work correctly. In Hudson, I was able to set a revision policy for HEAD, while it was not in Jenkins.

I searched a bit and saw that Jira was created for this problem, but could not find a working solution to the problem.

I tried to manually install the Subversion plugin for Hudson in Jenkins, and the Revision policy option appeared, but for some reason it threw an exception when setting up svn authentication information.

If anyone knows a solution to make this change to Jenkins, kindly reply.

+6
source share
2 answers

Clarified. Add all SVN URLs with @HEAD and svn update will come from HEAD!

+9
source

The plugin does not offer such a function, but you may find a useful problem with jira. There is a fix in the comments for this purpose. See Issue 1241 .

+1
source

Source: https://habr.com/ru/post/921793/


All Articles