[CI] Upload master branch artifacts to S3 root [skip ci] (#4979)
This commit is contained in:
parent
da6e74f7bb
commit
96cd7ec2bb
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -224,7 +224,7 @@ def BuildCUDA(args) {
|
|||||||
if (args.cuda_version == '9.0') {
|
if (args.cuda_version == '9.0') {
|
||||||
echo 'Stashing Python wheel...'
|
echo 'Stashing Python wheel...'
|
||||||
stash name: 'xgboost_whl_cuda9', includes: 'python-package/dist/*.whl'
|
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'
|
s3Upload bucket: 'xgboost-nightly-builds', path: path, acl: 'PublicRead', workingDir: 'python-package/dist', includePathPattern:'**/*.whl'
|
||||||
echo 'Stashing C++ test executable (testxgboost)...'
|
echo 'Stashing C++ test executable (testxgboost)...'
|
||||||
stash name: 'xgboost_cpp_tests', includes: 'build/testxgboost'
|
stash name: 'xgboost_cpp_tests', includes: 'build/testxgboost'
|
||||||
|
|||||||
@ -92,7 +92,7 @@ def BuildWin64() {
|
|||||||
"""
|
"""
|
||||||
echo 'Stashing Python wheel...'
|
echo 'Stashing Python wheel...'
|
||||||
stash name: 'xgboost_whl', includes: 'python-package/dist/*.whl'
|
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'
|
s3Upload bucket: 'xgboost-nightly-builds', path: path, acl: 'PublicRead', workingDir: 'python-package/dist', includePathPattern:'**/*.whl'
|
||||||
echo 'Stashing C++ test executable (testxgboost)...'
|
echo 'Stashing C++ test executable (testxgboost)...'
|
||||||
stash name: 'xgboost_cpp_tests', includes: 'build/testxgboost.exe'
|
stash name: 'xgboost_cpp_tests', includes: 'build/testxgboost.exe'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user