IUM_04 - update Jenkinsfile and download dataset script
This commit is contained in:
parent
7b0a5e55b9
commit
87dec5919f
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -34,7 +34,7 @@ pipeline {
|
|||||||
stage('Download dataset') {
|
stage('Download dataset') {
|
||||||
steps {
|
steps {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
|
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 "unzip -o breast-cancer-wisconsin-data.zip"
|
||||||
sh "mkdir datasets"
|
sh "mkdir datasets"
|
||||||
sh "mv data.csv datasets/data.csv"
|
sh "mv data.csv datasets/data.csv"
|
||||||
|
Loading…
Reference in New Issue
Block a user