Dockerfile

This commit is contained in:
Mateusz 2024-04-01 14:35:28 +02:00
parent f615296216
commit f8e2639078

2
Jenkinsfile vendored
View File

@ -20,14 +20,12 @@ pipeline {
stages { stages {
stage('Run create-dataset script') { stage('Run create-dataset script') {
steps { steps {
script {
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) { withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
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: '/data/*', onlyIfSuccessful: true archiveArtifacts artifacts: '/data/*', onlyIfSuccessful: true