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

accurev hist results in exception if Pass-thru stream is in the hierarchy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • accurev-plugin
    • None
    • Platform: All, OS: All

      Hi,

      if the built stream has a parent in the hierarchy that is a pass-thru stream
      then the "accurev hist" command results in an exception and therefore no changes
      are listed for the build job:

      "C:\Program Files (x86)\AccuRev\bin\accurev.exe" hist -H muc-accurev:5050 -fx -p
      Depot -s "My pass-thru stream" -t now.1

      org.xmlpull.v1.XmlPullParserException: already reached end of XML input
      (position: END_DOCUMENT seen ...<AcResponse\r\n Command="hist"\r\n
      TaskId="45789"/>\r\n... @5:1)
      at org.xmlpull.mxp1.MXParser.parseEpilog(MXParser.java:1531)
      at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1393)
      at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
      at hudson.plugins.accurev.AccurevSCM.checkStreamForChanges(AccurevSCM.java:172)
      at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:594)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:666)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:261)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235)
      at hudson.model.Run.run(Run.java:817)
      at hudson.model.Build.run(Build.java:88)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:90)

      Thanks!
      Thomas

            stephenconnolly Stephen Connolly
            vessel vessel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: