Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11620

CC history kills build if no changes on branch instead of just stating nothing changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • 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

            Unassigned Unassigned
            moncreaff Greg Moncreaff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: