-
Bug
-
Resolution: Unresolved
-
Major
-
None
Build declared as failed if branch doesn't exist.
This shouldn't be a failure, it just means the history list will be empty is all!!
[e.g. no code has changed in this are yet (hence no files have been branched yet off of parent), or source may never change, it shouldn't stop a compilation or anything]
16:56:51 [ClearCase] Retrieving changes since last build (37m. 8s. ago)...
16:56:51 cleartool error:
16:56:51 Command Line >>> [kw_mtcd] $ /usr/atria/bin/cleartool lshistory -all -since 04-nov-2011.16:19:43UTC+0 -fmt "\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -branch brtype:BRANCH_NAME -nco vobs/FOO
16:56:51 cleartool: Error: Branch type not found: "BRANCH_NAME".
16:56:51
16:56:51 [WARNINGS] Skipping publisher since build result is FAILURE
16:56:51 [TASKS] Skipping publisher since build result is FAILURE
16:56:51 [ClearCase] Restored the original build steps.
16:56:51 Finished: FAILURE
We have same issue if using multiple load rules (VOBs) with one or more branches that are not there for some VOBs. It looks like the build is broken, but just lshistory will report error. It should be ignored!