Dockerfile
This commit is contained in:
parent
3cddbbfdb4
commit
cd23bed57e
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -20,19 +20,16 @@ pipeline {
|
||||
)
|
||||
}
|
||||
|
||||
environment {
|
||||
KAGGLE_USERNAME = "${params.KAGGLE_USERNAME}"
|
||||
KAGGLE_KEY = "${params.KAGGLE_KEY}"
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Run create-dataset script') {
|
||||
steps {
|
||||
sh 'kaggle datasets download -d mlg-ulb/creditcardfraud'
|
||||
sh 'unzip creditcardfraud.zip'
|
||||
sh 'rm creditcardfraud.zip'
|
||||
sh 'chmod +x create-dataset.py'
|
||||
sh 'python3 ./create-dataset.py $KAGGLE_USERNAME'
|
||||
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh 'kaggle datasets download -d mlg-ulb/creditcardfraud'
|
||||
sh 'unzip creditcardfraud.zip'
|
||||
sh 'rm creditcardfraud.zip'
|
||||
sh 'chmod +x create-dataset.py'
|
||||
sh 'python3 ./create-dataset.py $KAGGLE_USERNAME'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Archive Artifacts') {
|
||||
|
Loading…
Reference in New Issue
Block a user