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

Lost of Clearcase configuration during maven site

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Clearcase Plugin 1.3
      Hudson v1.367

    Description

      Hudson Jobs are Maven2 project.

      The job works with "clean deploy" goals but has the following exception with "clean install site" goals.

      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] View path name cannot be null. There is a bug inside AbstractClearCaseScm.
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.IllegalStateException: View path name cannot be null. There is a bug inside AbstractClearCaseScm.
      at hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:287)
      at hudson.model.AbstractBuild.getModuleRoot(AbstractBuild.java:233)
      at hudson.maven.reporters.MavenSiteArchiver$1.call(MavenSiteArchiver.java:109)
      at hudson.maven.reporters.MavenSiteArchiver$1.call(MavenSiteArchiver.java:106)
      at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:327)
      at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at hudson.model.Executor$1.call(Executor.java:380)
      at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
      at $Proxy23.execute(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor311.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      at hudson.remoting.UserRequest.perform(UserRequest.java:114)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:270)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      The attached patch seems to fix the problem.

      Attachments

        Issue Links

          Activity

            Code changed in hudson
            User: : vlatombe
            Path:
            trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
            http://jenkins-ci.org/commit/33074
            Log:
            [ JENKINS-7027] Lost of Clearcase configuration during maven site

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : vlatombe Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java http://jenkins-ci.org/commit/33074 Log: [ JENKINS-7027 ] Lost of Clearcase configuration during maven site

            Applied, however it won't work if there are variables used to make the view path.
            The fix will be in hudson's build #145 (see http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$clearcase/)

            vlatombe Vincent Latombe added a comment - Applied, however it won't work if there are variables used to make the view path. The fix will be in hudson's build #145 (see http://ci.hudson-labs.org/job/hudson_all_plugins/org.jvnet.hudson.plugins$clearcase/ )

            Released in 1.3.1

            vlatombe Vincent Latombe added a comment - Released in 1.3.1

            This should be definitely fixed in 1.3.3 + core 1.382.

            vlatombe Vincent Latombe added a comment - This should be definitely fixed in 1.3.3 + core 1.382.

            People

              vlatombe Vincent Latombe
              juherr juherr
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: