[CI] Clean up in beginning of each task in Win CI (#7189)

This commit is contained in:
Philip Hyunsu Cho 2021-08-25 04:15:22 -07:00 committed by GitHub
parent cdfaa705f3
commit b70e07da1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,7 @@ def checkoutSrcs() {
def BuildWin64() {
node('win64 && cuda10_unified') {
deleteDir()
unstash name: 'srcs'
echo "Building XGBoost for Windows AMD64 target..."
bat "nvcc --version"
@ -118,6 +119,7 @@ def BuildWin64() {
def BuildRPackageWithCUDAWin64() {
node('win64 && cuda10_unified') {
deleteDir()
unstash name: 'srcs'
bat "nvcc --version"
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith('release')) {
@ -134,6 +136,7 @@ def BuildRPackageWithCUDAWin64() {
def TestWin64() {
node('win64 && cuda10_unified') {
deleteDir()
unstash name: 'srcs'
unstash name: 'xgboost_whl'
unstash name: 'xgboost_cli'