Skip to content

Commit

Permalink
Merge branch 'master' into fix.docs.build
Browse files Browse the repository at this point in the history
  • Loading branch information
axw authored Feb 17, 2021
2 parents 311ae3a + c88d8fc commit 061d1f0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .ci/scripts/docker-get-logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

STEP=${1:-""}

DOCKER_INFO_DIR="docker-info/${STEP}"
DOCKER_INFO_DIR="build/docker-info/${STEP}"
mkdir -p ${DOCKER_INFO_DIR}
cp docker-compose*.yml ${DOCKER_INFO_DIR}
cd ${DOCKER_INFO_DIR}
Expand Down
35 changes: 19 additions & 16 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,15 @@ pipeline {
}
post {
always {
coverageReport("${BASE_DIR}/build/coverage")
junit(allowEmptyResults: true,
keepLongStdio: true,
testResults: "${BASE_DIR}/build/junit-*.xml"
)
catchError(buildResult: 'SUCCESS', message: 'Failed to grab test results tar files', stageResult: 'SUCCESS') {
tar(file: "coverage-files.tgz", archive: true, dir: "coverage", pathPrefix: "${BASE_DIR}/build")
dir("${BASE_DIR}/build"){
coverageReport("coverage")
junit(allowEmptyResults: true,
keepLongStdio: true,
testResults: "junit-*.xml"
)
catchError(buildResult: 'SUCCESS', message: 'Failed to grab test results tar files', stageResult: 'SUCCESS') {
tar(file: "coverage-files.tgz", archive: true, dir: "coverage")
}
}
codecov(repo: env.REPO, basedir: "${BASE_DIR}", secret: "${CODECOV_SECRET}")
}
Expand Down Expand Up @@ -293,17 +295,18 @@ pipeline {
}
post {
always {
dir("${BASE_DIR}"){
dir("${BASE_DIR}/build"){
archiveArtifacts(allowEmptyArchive: true,
artifacts: "docker-info/**",
defaultExcludes: false)
junit(allowEmptyResults: true,
keepLongStdio: true,
testResults: "**/build/TEST-*.xml"
)
}
catchError(buildResult: 'SUCCESS', message: 'Failed to grab test results tar files', stageResult: 'SUCCESS') {
tar(file: "system-tests-linux-files.tgz", archive: true, dir: "system-tests", pathPrefix: "${BASE_DIR}/build")
defaultExcludes: false
)
junit(allowEmptyResults: true,
keepLongStdio: true,
testResults: "**/TEST-*.xml"
)
catchError(buildResult: 'SUCCESS', message: 'Failed to grab test results tar files', stageResult: 'SUCCESS') {
tar(file: "system-tests-linux-files.tgz", archive: true, dir: "system-tests")
}
}
}
}
Expand Down

0 comments on commit 061d1f0

Please sign in to comment.