Zad 03.Jenkins - zapisanie zbioru danych
This commit is contained in:
parent
a10354f694
commit
8021916030
@ -30,11 +30,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Shell script') {
|
stage('Shell script') {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'chmod u+x ./download.sh'
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||||
sh "echo KAGGLE_USERNAME: $KAGGLE_USERNAME"
|
sh "echo KAGGLE_USERNAME: $KAGGLE_USERNAME"
|
||||||
sh "./download.sh"
|
sh "./download.sh"
|
||||||
archiveArtifacts artifacts: "steel_industry_data_test.csv, steel_industry_data_dev.csv, steel_industry_data_train.csv", onlyIfSuccessful: true
|
archiveArtifacts artifacts: "steel_industry_data_test.csv, steel_industry_data_dev.csv, steel_industry_data_train.csv"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user