Dockerfile

This commit is contained in:
Mateusz 2024-04-01 15:37:17 +02:00
parent 41271cf581
commit c62268dc8a

2
Jenkinsfile vendored
View File

@ -24,13 +24,11 @@ pipeline {
stage('Run create-dataset script') { stage('Run create-dataset script') {
steps { steps {
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) { withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
dir ('/app') {
sh 'chmod +x create-dataset.py' sh 'chmod +x create-dataset.py'
sh 'python3 ./create-dataset.py' sh 'python3 ./create-dataset.py'
} }
} }
} }
}
stage('Archive Artifacts') { stage('Archive Artifacts') {
steps { steps {
archiveArtifacts artifacts: '/app/data/*', onlyIfSuccessful: true archiveArtifacts artifacts: '/app/data/*', onlyIfSuccessful: true