Merge pull request #19 from aws-lumberyard-test/metrics_setup

Adding MARS test metrics
main
evanchia-ly-sdets 5 years ago committed by GitHub
commit afc51ab0d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -476,8 +476,9 @@ def TestMetrics(Map options, String workspace, String branchName, String repoNam
dir("${workspace}/${ENGINE_REPOSITORY_NAME}") {
checkout scm: [
$class: 'GitSCM',
branches: [[name: '*/main']],
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'mars']],
userRemoteConfigs: [[url: "${env.MARS_REPO}", name: 'mars']]
userRemoteConfigs: [[url: "${env.MARS_REPO}", name: 'mars', credentialsId: "${env.GITHUB_USER}"]]
]
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} "

Loading…
Cancel
Save