Commits

Lilian Y-Nhi Dinh authored 778a0029bc9
SD-2011: Forsøg med testimportinfo
No tags

cucumber/jenkins/Jenkinsfile.SCES

Modified
66 66 }
67 67 }
68 68
69 69 if (fileExists("cucumber/target/report.json")) {
70 70 step([$class: 'XrayImportBuilder',
71 71 serverInstance: '89d8e9d1-8aff-4f28-8830-5d1217f0d789',
72 72 projectKey: 'NRT',
73 73 endpointName: '/cucumber',
74 74 importFilePath: 'cucumber/target/report.json',
75 75 importToSameExecution: 'true',
76 - testExecKey: '${env.JOB_NAME} ${env.BUILD_NUMBER}'
76 + testImportInfo: '''{"fields": {"summary": "${env.JOB_NAME} ${currentDate} [${env.TEST_EXEC_KEY}]"}}'''
77 77 ])
78 78 }
79 79 }
80 80 stage ('Clean') {
81 81 deleteDir()
82 82 }
83 83 }
84 84 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut