Zad 03.Jenkins - zapisanie zbioru danych

This commit is contained in:
Cezary Gałązkiewicz 2022-03-28 00:34:36 +02:00
parent a10354f694
commit 8021916030

View File

@ -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"
} }
} }
} }