Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Attachments: screenshot-repeated-builds.png
Components: subversion
Created: 25/Oct/12 2:54 PM
Description:

I've configured my build to poll a svn repo every minute (* * * * *), and the polling works fine, but what's strange is that the build is launched even if there was no change in my SVN repo.

In the Build Console I can read "no change for https://my.svn.repo/project since the previous build" (see more log below), but Jenkins nevertheless proceeds to building! The attached screenshot shows repeated builds of the same SVN revision.

This problem surfaced recently, but I'm hazardous to call it a regression: it might as well be a customer-side change of their SVN. I'm also unsure of the impact of the line saying "WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior", could it be the source of my issue?

Here is the beginning of build log of the third #924-svn1705, for example:
Started by an SCM change
Building in workspace C:\.jenkins\workspace\trunk-erw
Cleaning up C:\.jenkins\workspace\trunk-erw\.
Deleting C:\.jenkins\workspace\trunk-erw\.\trunk\PS\2spinner\logs
Deleting C:\.jenkins\workspace\trunk-erw\.\trunk\enovia\WEB-INF\web.xml
Deleting C:\.jenkins\workspace\trunk-erw\.\trunk\Spinner\2spinner\logs
Updating https://my.svn.repo/project
At revision 1705
WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior.
no change for https://my.svn.repo/project since the previous build
[trunk] $ cmd.exe /C '"C:\ant\bin\ant.bat -file build.xml -DjenkinsBuildNumber=924 -DjenkinsBuildNumberPlusSvn=#924-svn1705 PSfullJenkinsDeployWithRestore && exit %%ERRORLEVEL%%"'
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar
Buildfile: C:\.jenkins\workspace\trunk-erw\trunk\build.xml
...
<build goes on as usual>

Environment: Jenkins 1.487
Windows Server 2008 R2 x64
Tomcat 7.0.30
Java 1.6.0_35
Project: Jenkins
Labels: windows subversion build
Priority: Major Major
Reporter: Ronan Jouchet
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to