IUM_04 - update Jenkinsfile and download dataset script

This commit is contained in:
Paweł Łączkowski 2024-03-29 16:48:35 +01:00
parent 7b0a5e55b9
commit 87dec5919f
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -34,7 +34,7 @@ pipeline {
stage('Download dataset') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
sh "kaggle datasets download -d uciml/breast-cancer-wisconsin-data"
sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} kaggle datasets download -d uciml/breast-cancer-wisconsin-data"
sh "unzip -o breast-cancer-wisconsin-data.zip"
sh "mkdir datasets"
sh "mv data.csv datasets/data.csv"