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

Accurev .6.23 causes errors if getconfig file now found

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • accurev-plugin
    • None

      We don't use AccuWork in our installation. After installing plugin version .6.23 from .6.18 we get the following stack trace in our console

      10:20:27 [userAcceptance] $ accurev.exe getconfig -H prdaccurev.aoins.com:5050 -s -r settings.xml
      10:20:27 FATAL: xxxxxxxxx.xxx.com: Get config to fetch webURL (accurev.exe getconfig -H accurev.xxx.com:5050 -s -r settings.xml) failed with java.io.EOFException: input contained no data
      10:20:27 java.io.EOFException: input contained no data
      10:20:27 	at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
      10:20:27 	at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
      10:20:27 	at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
      10:20:27 	at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
      10:20:27 	at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
      10:20:27 	at hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:19)
      10:20:27 	at hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:13)
      10:20:27 	at hudson.plugins.accurev.AccurevLauncher$1.parse(AccurevLauncher.java:199)
      10:20:27 	at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:293)
      10:20:27 	at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:190)
      10:20:27 	at hudson.plugins.accurev.cmd.ChangeLogCmd.captureChangelog(ChangeLogCmd.java:91)
      10:20:27 	at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:593)
      10:20:27 	at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
      10:20:27 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
      10:20:27 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      10:20:27 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
      10:20:27 	at hudson.model.Run.execute(Run.java:1665)
      10:20:27 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      10:20:27 	at hudson.model.ResourceController.execute(ResourceController.java:88)
      10:20:27 	at hudson.model.Executor.run(Executor.java:246)
      10:20:27 Changelog calculated successfully.
      

          [JENKINS-22432] Accurev .6.23 causes errors if getconfig file now found

          It's actually checking for the webui, so that it can create the issue and transaction urls to click through.

          Joshua Sherwood added a comment - It's actually checking for the webui, so that it can create the issue and transaction urls to click through.

          OK, we do use the WebUI. Do you have a link to an example configuration file that we need to use?

          Walter Kacynski added a comment - OK, we do use the WebUI. Do you have a link to an example configuration file that we need to use?

          Yup, took a minute to find it. It's in the accurev admin guide...

          2. On the AccuRev server, create a file named settings.xml in the directory ac_install/storage/
          site_slice/dispatch/config
          3. This file should contain the following entry:
          <settings>
          <webui url="http://yourwebhost:yourwebport/accurev"/>
          </settings>
          where you must substitute valid values for your site for yourwebhost:yourwebport.
          This entry allows the AccuRev server to kick off a web browser and have it point to the correct web
          server.

          ...

          But I've also pushed 0.6.24 which should trap if nothing was returned.

          Joshua Sherwood added a comment - Yup, took a minute to find it. It's in the accurev admin guide... 2. On the AccuRev server, create a file named settings.xml in the directory ac_install/storage/ site_slice/dispatch/config 3. This file should contain the following entry: <settings> <webui url="http://yourwebhost:yourwebport/accurev"/> </settings> where you must substitute valid values for your site for yourwebhost:yourwebport. This entry allows the AccuRev server to kick off a web browser and have it point to the correct web server. ... But I've also pushed 0.6.24 which should trap if nothing was returned.

          Had I not seen this error, I would have not know about this great feature! We will give it a try.

          Walter Kacynski added a comment - Had I not seen this error, I would have not know about this great feature! We will give it a try.

          Fixed in 0.6.24

          Joshua Sherwood added a comment - Fixed in 0.6.24

            jsherwood_accurev Joshua Sherwood
            walterk82 Walter Kacynski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: