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

SPLUNK plugin archive error for HP performance center HTML report

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have couple of issues

      1. Can i get post job data processing commands to send out JENKINS build status,cosole log and HP performance center test result(report location: C:\Program Files (x86)\Jenkins\jobs\Test_JenkinsPC\builds*{BuildNumber}*\archive\performanceTestsReports\pcRun\Report.html) similar to JUNIT report given below
      //send job metadata and junit reports with page size set to 50 (each event contains max 50 test cases)
      splunkins.sendTestReport(50)
       
      }}2. I am trying to send HP performance center html report to SPLUNK using splunkins.archive("C:\Program Files (x86)\Jenkins\jobs\Test_JenkinsPC\builds**\archive\performanceTestsReports\pcRun\\Report\summary.html", null, false, "10MB"){{ 
      Getting following error in sending file to SPLUNK

      Test_JenkinsPC #33 Console [Jenkins]
      Script1.groovy: 7: unexpected char: '\' @ line 7, column 22.
      splunkins.archive("C:\Program Files (x86)\Jenkins\jobs\Test_JenkinsPC\builds**\archive\performanceTestsReports\pcRun\\Report\summary.html", null, false, "10MB")
      ^

      1 error

      at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
      at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:150)
      at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:120)
      at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:132)
      at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:350)
      at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:139)
      at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:110)
      at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:234)
      at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:168)
      at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:943)
      at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:605)
      at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      at groovy.lang.GroovyShell.parse(GroovyShell.java:736)
      at groovy.lang.GroovyShell.parse(GroovyShell.java:727)
      at groovy.lang.GroovyShell$parse.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
      at com.splunk.splunkjenkins.UserActionDSL.perform(UserActionDSL.groovy:49)
      at com.splunk.splunkjenkins.listeners.LoggingRunListener.onCompleted(LoggingRunListener.java:85)
      at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
      at hudson.model.Run.execute(Run.java:1772)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Finished: FAILURE

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            fengxx Ted Xiao
            Reporter:
            senyam08 Senthilkumar Rasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: