Dockerfile

This commit is contained in:
Mateusz 2024-04-01 17:56:55 +02:00
parent a61d5c9251
commit e4dcf6d40d

13
Jenkinsfile vendored
View File

@ -1,5 +1,10 @@
pipeline {
agent any
agent {
dockerfile {
filename 'Dockerfile'
args '-u root'
}
}
parameters {
string (
@ -15,6 +20,11 @@ pipeline {
)
}
environment {
KAGGLE_USERNAME = "${params.KAGGLE_USERNAME}"
KAGGLE_KEY = "${params.KAGGLE_KEY}"
}
stages {
stage('Run create-dataset script') {
steps {
@ -24,7 +34,6 @@ pipeline {
}
}
}
stage('Archive Artifacts') {
steps {
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true