Hi

 

I am using a pipeline to connect Performance center from Jenkins. I am able 
to run the tests successfully, however unable to view the report on left 
hand side console in Jenkins. Its appearing blank. Please suggest if 
someone has any clue about this.

 

Jenkin version:- 2.107.3

Microfocus Automation Plugin: 5.3

 

*Pipeline Job:-*

stage('RunPCTESTS'){ // The stage name

 

    node('master'){ //  The name of the node in which to run the test.

    def perfResultPath

    def currentBuildNo = env.BUILD_NUMBER

    println currentBuildNo

    

    pcBuild HTTPSProtocol: false, addRunToTrendReport: 'NO_TREND', 
almDomain: 'DEFAULT', almPassword: 'xxxxx', almProject: 'Test', 
almUserName: 'temp1', autoTestInstanceID: 'MANUAL', description: '', 
pcServerName: 'nclpwnqwebxxxxx.cmp.aon.net', postRunAction: 
'COLLATE_AND_ANALYZE', proxyOutPassword: '', proxyOutURL: '', proxyOutUser: 
'', serverAndPort: 'http://localhost:8080', statusBySLA: false, testId: 
'46', testInstanceId: '24', timeslotDurationHours: '0', 
timeslotDurationMinutes: '30', trendReportId: '', vudsMode: false

 

          perfResultPath= 'C:\\Program Files (x86)
\\Jenkins\\jobs\\RAF_PT_Pipeline\\builds\\'+currentBuildNo+'\\archive\\performanceTestsReports\\pcRun
 
<file://Jenkins/jobs/RAF_PT_Pipeline/builds/'+currentBuildNo+'/archive/performanceTestsReports/pcRun>
'

      

println perfResultPath

 

publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: 
true, reportDir: '', reportFiles: perfResultPath+'\\Report.html', 
reportName: 'Performance Report', reportTitles: 'HTML Performance Report'])

                                

                                                

    }

}

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b9315515-45cd-49b4-80e2-208a958f1573%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to