-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Windows 2000, Hudson 1.349, P4V client P4/NTX86/2008.2/189013 (2009/02/18)
I configured Hudson job to poll Perforce for changes to only build changed modules, however, after polling Hudson, continues with a complete build even when nothing has changed. This causes all sub-modules to cascade build when nothing has changed.
When looking at the details of the job, Hudson reports:
No changes from last build.
Started by an SCM change
Then looking at the console, I can see the complete build has executed.
Screenshot of Perforce configuration:
http://screencast.com/t/ZGI3NGI1MG
Screenshot of Hudson job details:
http://screencast.com/t/OGQyZGFiND
Screenshot of Hudson job changes (from last build):
http://screencast.com/t/NDU5OWQ5YmM
Screenshot of Hudson console showing complete build:
http://screencast.com/t/ODUxYTgx
I am getting similar behavior except with Subversion.
When I look at the details of the build it tells me that it was started by an SCM change but that there are no changes:
-------------------
Revision: <some number>
No changes.
Started by an SCM change
---------------------
If I catch the Subversion polling log (from the link on the project page) in time it will tell me something like the following:
--------------------------------------
Started on Mar 11, 2010 6:27:44 PM
Workspace doesn't contain svn://<svn path here>/trunk. Need a new build.
Done. Took 62 ms
Changes found
---------------------------------------
I am not sure if this issue is related or not since it is a different SCM system but I thought it too coincidental.