[CI] Upload master branch artifacts to S3 root [skip ci] (#4979)

This commit is contained in:
Philip Hyunsu Cho
2019-10-23 22:39:04 -07:00
committed by GitHub
parent da6e74f7bb
commit 96cd7ec2bb
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@@ -224,7 +224,7 @@ def BuildCUDA(args) {
if (args.cuda_version == '9.0') {
echo 'Stashing Python wheel...'
stash name: 'xgboost_whl_cuda9', includes: 'python-package/dist/*.whl'
path = ("${BRANCH_NAME}" == 'master') ? '/' : "${BRANCH_NAME}/"
path = ("${BRANCH_NAME}" == 'master') ? '' : "${BRANCH_NAME}/"
s3Upload bucket: 'xgboost-nightly-builds', path: path, acl: 'PublicRead', workingDir: 'python-package/dist', includePathPattern:'**/*.whl'
echo 'Stashing C++ test executable (testxgboost)...'
stash name: 'xgboost_cpp_tests', includes: 'build/testxgboost'