[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

View File

@@ -92,7 +92,7 @@ def BuildWin64() {
"""
echo 'Stashing Python wheel...'
stash name: 'xgboost_whl', 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.exe'