Adding build job name to jenkinsfile for test metrics

This commit is contained in:
evanchia
2021-04-06 14:55:08 -07:00
parent e6491ba1aa
commit 2d13bfda9d
+2
View File
@@ -599,6 +599,8 @@ try {
withEnv(GetEnvStringList(envVars)) {
timeout(time: envVars['TIMEOUT'], unit: 'MINUTES', activity: true) {
try {
def build_job_name = build_job.key
CreateSetupStage(pipelineName, branchName, platform.key, build_job.key, envVars).call()
if(build_job.value.steps) { //this is a pipe with many steps so create all the build stages