Cleanup old artefacts in Jenkins (#3361)

This commit is contained in:
Rory Mitchell
2018-06-05 15:16:37 +12:00
committed by GitHub
parent bd01acdfbc
commit 3f7696ff53

2
Jenkinsfile vendored
View File

@@ -97,7 +97,7 @@ def buildPlatformCmake(buildName, conf, nodeReq, dockerTarget) {
sh """
${dockerRun} ${dockerTarget} ${dockerArgs} tests/ci_build/build_via_cmake.sh ${opts}
${dockerRun} ${dockerTarget} ${dockerArgs} tests/ci_build/test_${dockerTarget}.sh
${dockerRun} ${dockerTarget} ${dockerArgs} bash -c "cd python-package; python setup.py bdist_wheel"
${dockerRun} ${dockerTarget} ${dockerArgs} bash -c "cd python-package; rm -f dist/*; python setup.py bdist_wheel"
rm -rf "${distDir}"; mkdir -p "${distDir}/py"
cp xgboost "${distDir}"
cp -r lib "${distDir}"