We've seen cases where QB would not start a build complaining that it could not find the commit referred to by the provided tag.
Caused by: com.pmease.quickbuild.QuickbuildException: Failed to run command: git log -1 --pretty=format:%H 1df4493034dfc39c970a9965c691716654353805
Command return code: 128
Command error output: fatal: bad object 1df4493034dfc39c970a9965c691716654353805
at com.pmease.quickbuild.plugin.basis.BasisPlugin$30.evaluate(BasisPlugin.java:380)
at com.pmease.quickbuild.DefaultScriptEngine.evaluate(DefaultScriptEngine.java:305)
Researching the issue, we found that those 'missing' commits actually do exist and can be retrieved using command line git. What was special about them was that they were all orphaned commits, i.e. commits that did not belong to any branch. We suspect that perhaps the plugin is trying to peg the commit to some particular branch. But even if so, one would think that QB should be able to take the commit whether on a branch or not. Is there any reason for this behavior?
Thank you,
Waldemar