Use tagged docker image
This commit is contained in:
parent
312496886b
commit
b74f7d819c
@ -15,7 +15,7 @@ pipeline {
|
||||
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY}"
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s444409-create-dataset"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,17 +1,14 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile true
|
||||
docker {
|
||||
image 's444409-create-dataset'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Get arifacts') {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444409-create-dataset', selector: lastSuccessful()
|
||||
}
|
||||
}
|
||||
stage('Show stats') {
|
||||
steps {
|
||||
sh "chmod u+x ./stats.sh"
|
||||
sh "./stats.sh"
|
||||
sh "chmod u+x /app/stats.sh"
|
||||
sh "/app/stats.sh"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user