[CI] Clean up in beginning of each task in Win CI (#7189)
This commit is contained in:
parent
cdfaa705f3
commit
b70e07da1f
@ -76,6 +76,7 @@ def checkoutSrcs() {
|
|||||||
|
|
||||||
def BuildWin64() {
|
def BuildWin64() {
|
||||||
node('win64 && cuda10_unified') {
|
node('win64 && cuda10_unified') {
|
||||||
|
deleteDir()
|
||||||
unstash name: 'srcs'
|
unstash name: 'srcs'
|
||||||
echo "Building XGBoost for Windows AMD64 target..."
|
echo "Building XGBoost for Windows AMD64 target..."
|
||||||
bat "nvcc --version"
|
bat "nvcc --version"
|
||||||
@ -118,6 +119,7 @@ def BuildWin64() {
|
|||||||
|
|
||||||
def BuildRPackageWithCUDAWin64() {
|
def BuildRPackageWithCUDAWin64() {
|
||||||
node('win64 && cuda10_unified') {
|
node('win64 && cuda10_unified') {
|
||||||
|
deleteDir()
|
||||||
unstash name: 'srcs'
|
unstash name: 'srcs'
|
||||||
bat "nvcc --version"
|
bat "nvcc --version"
|
||||||
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith('release')) {
|
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith('release')) {
|
||||||
@ -134,6 +136,7 @@ def BuildRPackageWithCUDAWin64() {
|
|||||||
|
|
||||||
def TestWin64() {
|
def TestWin64() {
|
||||||
node('win64 && cuda10_unified') {
|
node('win64 && cuda10_unified') {
|
||||||
|
deleteDir()
|
||||||
unstash name: 'srcs'
|
unstash name: 'srcs'
|
||||||
unstash name: 'xgboost_whl'
|
unstash name: 'xgboost_whl'
|
||||||
unstash name: 'xgboost_cli'
|
unstash name: 'xgboost_cli'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user