|
|
|
|
@ -488,8 +488,6 @@ def TestMetrics(Map options, String workspace, String branchName, String repoNam
|
|
|
|
|
]
|
|
|
|
|
withCredentials([usernamePassword(credentialsId: "${env.SERVICE_USER}", passwordVariable: 'apitoken', usernameVariable: 'username')]) {
|
|
|
|
|
def command = "${options.PYTHON_DIR}/python.cmd -u mars/scripts/python/ctest_test_metric_scraper.py -e jenkins.creds.user ${username} -e jenkins.creds.pass ${apitoken} ${cmakeBuildDir} ${branchName} %BUILD_NUMBER% AR ${configuration} ${repoName} "
|
|
|
|
|
if (params.DESTINATION_BRANCH)
|
|
|
|
|
command += "--destination-branch ${params.DESTINATION_BRANCH} "
|
|
|
|
|
bat label: "Publishing ${buildJobName} Test Metrics",
|
|
|
|
|
script: command
|
|
|
|
|
}
|
|
|
|
|
|