This commit is contained in:
Sheaza 2024-04-02 20:15:24 +02:00
parent d06917c6fb
commit 102c11792c

4
Jenkinsfile vendored
View File

@ -7,7 +7,7 @@ pipeline {
description: 'Kaggle username' description: 'Kaggle username'
) )
password ( password (
name: 'API_KEY', name: 'KAGGLE_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.API_KEY}" sh "python ./get_dataset.py ${params.KAGGLE_USERNAME} ${params.KAGGLE_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
} }
} }