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

setcs for dynamic views is not called from view context - include rules pointing to view directly don't work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Hudson 1.339
      ClearCase plugin 1.1
      ClearCase 6

    Description

      When dynamic view is updated when build is started the setcs fails due to unresolved include rules.
      The problem is that the "setcs" command is called from workspace but should be called from view path.
      The config specs I use contain include rules that point to the VOB, not to the specific view (so that I can have same config specs for different views).
      Example config spec part:
      ...
      element /vobs/blabla/include.spec" /main/LATEST
      include /vobs/blabla/include.spec
      ...

      I can work around it by setting the exact view path (e.g. /view/viewx/vobs/blabla/...) but I would have to modify all projects and all config specs.
      It's strange that with the previous version of CC plugin it worked for most builds, I'm facing major problems with the current (1.1) version.

      Attachments

        Activity

          abayer Andrew Bayer added a comment -

          Taking a look now - this should be easy to fix.

          abayer Andrew Bayer added a comment - Taking a look now - this should be easy to fix.
          abayer Andrew Bayer added a comment -

          Resolved in trunk for 1.1.1.

          abayer Andrew Bayer added a comment - Resolved in trunk for 1.1.1.

          Code changed in hudson
          User: : abayer
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamicUCM.java
          trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=25743
          Log:
          [FIXED JENKINS-5243] Dynamic view setcs calls now run from the view root, rather than the workspace root.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : abayer Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamicUCM.java trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=25743 Log: [FIXED JENKINS-5243] Dynamic view setcs calls now run from the view root, rather than the workspace root.

          People

            abayer Andrew Bayer
            lip lip
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: