I have been using a file-system repository in my builds as a temporary solution to a challenge copying files between jobs.
Now we have implemented a QuickBuild repository and it seems to work fine EXCEPT...
When I rolled this out to production, all of my builds got this error (in System Log) and will not start:
2022-11-29 11:03:03,754 [pool-2-thread-224712] ERROR com.pmease.quickbuild.DefaultBuildEngine - Error processing build request.
java.lang.RuntimeException: Error executing check condition job.
at com.pmease.quickbuild.CheckConditionTask.reduce(CheckConditionTask.java:39)
at com.pmease.quickbuild.CheckConditionTask.reduce(CheckConditionTask.java:16)
at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:168)
at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:407)
at com.pmease.quickbuild.DefaultBuildEngine.access$000(DefaultBuildEngine.java:152)
at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:1289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.ClassCastException
I believe this is because the type of my 'harness files' repository has changed, and it is not able to make a comparison of changes since the previous build. I would expect it to see the type of the repository has changed, and therefore know it needs to rebuild.