This commit is contained in:
Sheaza 2024-04-02 20:14:16 +02:00
parent f5959bb797
commit d06917c6fb

4
Jenkinsfile vendored
View File

@ -7,7 +7,7 @@ pipeline {
description: 'Kaggle username' description: 'Kaggle username'
) )
password ( password (
name: 'KAGGLE_KEY', name: 'API_KEY',
defaultValue: '', defaultValue: '',
description: 'Kaggle API key' description: 'Kaggle API key'
) )
@ -38,7 +38,7 @@ pipeline {
steps { steps {
sh "chmod +x ./get_dataset.py" sh "chmod +x ./get_dataset.py"
sh "python ./get_dataset.py ${params.KAGGLE_USERNAME} ${params.KAGGLE_KEY}" sh "python ./get_dataset.py ${params.KAGGLE_USERNAME} ${params.API_KEY}"
archiveArtifacts artifacts: 'dataset.csv,df_train.csv,df_test.csv', onlyIfSuccessful: true archiveArtifacts artifacts: 'dataset.csv,df_train.csv,df_test.csv', onlyIfSuccessful: true
} }
} }