Update 'Jenkinsfile_create_dataset'

This commit is contained in:
Patryk Gałka 2023-04-19 15:45:11 +02:00
parent 28a3111743
commit 3efdc27d00

View File

@ -15,7 +15,7 @@ pipeline {
name: 'KAGGLE_KEY'
)
string(
defaultValue: '0',
defaultValue: '500',
description: 'CUTOFF',
name: 'CUTOFF',
trim: false
@ -44,7 +44,7 @@ pipeline {
sh 'kaggle datasets download -d rush4ratio/video-game-sales-with-ratings'
sh 'unzip video-game-sales-with-ratings.zip'
sh 'rm video-game-sales-with-ratings.zip'
sh 'ls -a | tee dataset.csv'
sh 'move Video_Games_Sales_as_at_22_Dec_2016.csv ./ium_z434686'
}
}
}
@ -52,7 +52,6 @@ pipeline {
agent {
dockerfile {
filename 'create.dockerfile'
args '-v $HOME:/script'
}
}
steps {
@ -61,16 +60,6 @@ pipeline {
archiveArtifacts 'X_train.csv'
archiveArtifacts 'X_dev.csv'
archiveArtifacts 'X_tes.csv'
}
}
stage('Goodbye!') {
steps {
echo 'Goodbye!'
//Zarchiwizuj wynik
//archiveArtifacts 'output.txt'
archiveArtifacts 'dataset.csv'
}
}
}