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

Missing hyperlink type "tag" in Clearcase does not fail the build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If the "make tag" option is checked in the clearcase-ucm plugin settings of a job, and the clearcase hyperlink type tag is missing from the PVOB, an explanotory message is shown in the build log:

      [CCUCM] Could not change tag in ClearCase. Contact ClearCase administrator to do this manually.
      net.praqma.util.execute.AbnormalProcessTerminationException: cleartool: Error: hyperlink type "tag" not found in VOB "\Cool_PVOB" and no global type definition can be found.
      cleartool: Error: Unable to create hyperlink "tag".
      The Hyperlink type "tag" was not found.
      Installation: "cleartool mkhltype -global -c "Hyperlink type for tagging entities" tag@\Cool_PVOB
      Command was: cleartool mkhlink -ttext "tagtype=TestPosted&tagid=734&buildstatus=SUCCESS" tag baseline:Automade.8125@\Cool_PVOB
      cleartool: Error: hyperlink type "tag" not found in VOB "\Cool_PVOB" and no global type definition can be found.
      cleartool: Error: Unable to create hyperlink "tag".
      [CCUCM] Post build steps done
      Finished: SUCCESS

      I think that the build should be failed instead, because I do not get the results I "ordered" in the job configuration. Or as a minimum, the build should become Unstable

        Attachments

          Activity

          Hide
          lars_kruse Lars Kruse added a comment -

          Scheduled to be implemented in next release:
          The job shall be unstable in the situation described.

          Show
          lars_kruse Lars Kruse added a comment - Scheduled to be implemented in next release: The job shall be unstable in the situation described.
          Hide
          wolfgang Christian Wolfgang added a comment -

          The build now becomes unstable if the tag hyperlink is not found.

          Show
          wolfgang Christian Wolfgang added a comment - The build now becomes unstable if the tag hyperlink is not found.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: wolfgarnet
          Path:
          pom.xml
          src/main/java/net/praqma/hudson/Util.java
          src/main/java/net/praqma/hudson/notifier/CCUCMNotifier.java
          src/main/java/net/praqma/hudson/notifier/RemotePostBuild.java
          src/test/java/net/praqma/hudson/test/SystemValidator.java
          src/test/java/net/praqma/hudson/test/integration/userstories/Story11.java
          http://jenkins-ci.org/commit/clearcase-ucm-plugin/0aa861daa9064960a45a861653e67b96cf0c01a5
          Log:
          JENKINS-13944 Throwing exception when no tag type exists

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: wolfgarnet Path: pom.xml src/main/java/net/praqma/hudson/Util.java src/main/java/net/praqma/hudson/notifier/CCUCMNotifier.java src/main/java/net/praqma/hudson/notifier/RemotePostBuild.java src/test/java/net/praqma/hudson/test/SystemValidator.java src/test/java/net/praqma/hudson/test/integration/userstories/Story11.java http://jenkins-ci.org/commit/clearcase-ucm-plugin/0aa861daa9064960a45a861653e67b96cf0c01a5 Log: JENKINS-13944 Throwing exception when no tag type exists

            People

            Assignee:
            wolfgang Christian Wolfgang
            Reporter:
            jbrejner Jens Brejner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: