Tests results for Performance Center using pipelines

4 views
Skip to first unread message

gfou...@palo-it.com

unread,
Mar 14, 2018, 9:38:02 AM3/14/18
to hpe-application-automation-tools-plugin
Hi, 

I'm using version 5.3 of the tool to run Performance Center tests.

When configuring a "classic" jenkins job according to the documentation (Performance Center step + publish results post-build action), I manage to run my test and see the tests results

When I configure a pipeline job, I can configure a "pcBuild" step and the test runs fine, but I can't see the tests resuts in jenkins. I guess I'm missing a "publish results" step somewhere.

I cannot add a "classic" post-build action on a pipeline job and I could not find in the documentation how to do it using the pipeline syntax. Can anybody help me ?

TIA
Grégory

My test pipeline : 

pipeline {
  agent any

  stages {
    stage('Run Performance Center test') {
      steps {
        withCredentials([usernamePassword(credentialsId: 'jenkins_alm', passwordVariable: 'PASS', usernameVariable: 'USR')]) {

          pcBuild(
            HTTPSProtocol: false,
            addRunToTrendReport: 'NO_TREND',
            almDomain: 'MY_DOMAIN',
            almPassword: env.PASS,
            almProject: 'MY_PROJECT,
            almUserName: env.USR,
            autoTestInstanceID: 'MANUAL',
            description: 'Performance Center test',
            pcServerName: 'my-alm-server',
            postRunAction: 'COLLATE_AND_ANALYZE',
            proxyOutPassword: '',
            proxyOutURL: '',
            proxyOutUser: '',
            serverAndPort: 'https://my.jenkins.url',
            statusBySLA: false,
            testId: '2',
            testInstanceId: '1',
            timeslotDurationHours: '0',
            timeslotDurationMinutes: '30',
            trendReportId: '',
            vudsMode: false
           )
        }
      }
    }
  }

}



han...@gmail.com

unread,
Mar 15, 2018, 7:18:03 AM3/15/18
to hpe-application-automation-tools-plugin
Hi,

Could you please provide the Jenkins job log or a screenshot of it?

Hanan 

בתאריך יום רביעי, 14 במרץ 2018 בשעה 15:38:02 UTC+2, מאת gfou...@palo-it.com:
Reply all
Reply to author
Forward
0 new messages