Dockerfile
This commit is contained in:
parent
a61d5c9251
commit
e4dcf6d40d
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user