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: '',
statusBySLA: false,
testId: '2',
testInstanceId: '1',
timeslotDurationHours: '0',
timeslotDurationMinutes: '30',
trendReportId: '',
vudsMode: false
)
}
}
}
}
}