Skip to content
Snippets Groups Projects
Unverified Commit 86d29fcc authored by Calen Pennington's avatar Calen Pennington Committed by GitHub
Browse files

Merge pull request #22516 from cpennington/run-wtw-upload-on-jenkins-worker

Archive WTW artifacts and send splunk files at the end of the WTW col…
parents 9f72c69e 842adc6f
No related merge requests found
......@@ -92,28 +92,25 @@ pipeline {
steps {
script {
sshagent(credentials: ['jenkins-worker'], ignoreMissing: true) {
checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: git_branch]],
doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', honorRefspec: true,
noTags: true, shallow: true]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'jenkins-worker',
refspec: git_refspec, url: "git@github.com:edx/${REPO_NAME}.git"]]]
try {
checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: git_branch]],
doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', honorRefspec: true,
noTags: true, shallow: true]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'jenkins-worker',
refspec: git_refspec, url: "git@github.com:edx/${REPO_NAME}.git"]]]
for (int i = 1; i <= shardCount; i++) {
unstash "bok-choy-reports-${i}"
for (int i = 1; i <= shardCount; i++) {
unstash "bok-choy-reports-${i}"
}
sh """
export TEST_SUITE=bok-choy
source scripts/jenkins-common.sh
paver coverage --rcfile=common/test/acceptance/.coveragerc
paver upload_coverage_to_s3
"""
} finally {
archiveArtifacts allowEmptyArchive: true, artifacts: 'reports/*.coverage'
sendSplunkFile excludes: '', includes: '**/timing*.log', sizeLimit: '10MB'
}
sh """
export TEST_SUITE=bok-choy
source scripts/jenkins-common.sh
paver coverage --rcfile=common/test/acceptance/.coveragerc
paver upload_coverage_to_s3
"""
}
}
}
post {
always {
script {
archiveArtifacts allowEmptyArchive: true, artifacts: 'reports/*.coverage'
sendSplunkFile excludes: '', includes: '**/timing*.log', sizeLimit: '10MB'
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment