Create dataset
This commit is contained in:
parent
2749956f9a
commit
178f324d58
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -23,7 +23,6 @@ pipeline {
|
||||
stage('Download dataset') {
|
||||
steps {
|
||||
checkout scm
|
||||
dir ('./createDataset') {
|
||||
sh 'ls -l'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
@ -32,20 +31,17 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Docker') {
|
||||
steps {
|
||||
script {
|
||||
def dockerImage = docker.build("docker-image", "./")
|
||||
dockerImage.inside {
|
||||
sh 'ls -l'
|
||||
dir ('./createDataset') {
|
||||
sh 'ls -l'
|
||||
sh 'python3 createDataset.py'
|
||||
archiveArtifacts 'gender_classification_train.csv'
|
||||
archiveArtifacts 'gender_classification_test.csv'
|
||||
archiveArtifacts 'gender_classification_val.csv'
|
||||
}
|
||||
sh 'ls -l'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user