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

ClearCase plugin shouold start dynamic view

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Platform: All, OS: All

    Description

      I think it should be the CC plugin's responsibility. In a dynamic CC
      view configuration, the CC plugin (from my understanding) is
      first doing a catcs command to check the config spec and then verifying
      if the view-extended path exists (which will always fail).
      The dynamic view doesn't live on the server that hudson is running on
      and has no view-server process running. I think the CC plugin
      should say to itself 'Is the view server process running for this view,
      if not let me start it'. Not everyone that uses hudson is
      a ClearCase admin and wouldn't know what to do. I can't imagine having
      say 15-20 hudson projects using the CC plugin and having to
      manage the start all the CC views the projects depend on. What about if
      hudson is open for any developer to create a project, they
      would have to login to the hudson server and start the view-server
      process for their project or write a script to do it. It is too much
      configuration for a plugin, developers tend to push away from the
      software when it is. They would have to have a cheat sheet of what
      the plugin is not configuring.

      The only thing a user should know about ClearCase when they login is can
      I find it in my path (can I execute cleartool). A user
      wants a view-server process running only on demand as it takes up
      resources. My SCM Team has over 200 views does that mean their views
      should startup all the time when the they login? No...you will kill the
      network and development. Because of the issue, IBM (in the new version
      of CC)updated a view-server process to detect how long a view-server
      process has been running and kill it after x number of days if
      it has not been accessed.

      Another option to this is to have prebuild plugin do it but I don't
      think one exist. Also the CC plugin documention would then need to be
      updated
      to reflect it will not start any view-server processes in a dynamic view
      configuration.

      It would be better to call setview but I think I made a post about it
      before (how is a build script invoked thru a dynamic view,
      cleartool setview -exec). As for the CC plugin to do a endview, not at
      all, I was only referencing a problem if CC was configured
      when a user logins.

      Attachments

        Activity

          Code changed in hudson
          User: : redsolo
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java
          https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java&r1=8352&r2=8353
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java
          https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java&r1=8352&r2=8353
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java
          https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java&r1=8352&r2=8353
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java
          https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java&r1=8352&r2=8353
          trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java
          https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java&p2=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java&r1=8352&r2=8353
          trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java
          https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java&p2=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java&r1=8352&r2=8353
          trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java
          https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java&p2=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java&r1=8352&r2=8353

          Log:
          [fixed] Fixed so "setview" will be called on all dynamic views in every build (issue #1484)

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : redsolo Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java&r1=8352&r2=8353 trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearTool.java&r1=8352&r2=8353 trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolDynamic.java&r1=8352&r2=8353 trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java&p2=trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolSnapshot.java&r1=8352&r2=8353 trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java&p2=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java&r1=8352&r2=8353 trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java&p2=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolDynamicTest.java&r1=8352&r2=8353 trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java?view=diff&rev=8353&p1=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java&p2=trunk/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java&r1=8352&r2=8353 Log: [fixed] Fixed so "setview" will be called on all dynamic views in every build (issue #1484)
          abayer Andrew Bayer added a comment -

          Bulk-updating all bugs fixed through 0.8.1 to VERIFIED. Part of cleanup for
          0.8.2 release.

          abayer Andrew Bayer added a comment - Bulk-updating all bugs fixed through 0.8.1 to VERIFIED. Part of cleanup for 0.8.2 release.

          People

            redsolo redsolo
            redsolo redsolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: