docker-v3
This commit is contained in:
parent
4b67febc6b
commit
02ab65baae
@ -1,5 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
docker {image 's434732/ium' }
|
||||
}
|
||||
parameters {
|
||||
buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR')
|
||||
}
|
||||
@ -8,13 +10,10 @@ pipeline {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434732-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
|
||||
def image = docker.build("s434732/ium")
|
||||
image.inside {
|
||||
sh 'python3 "./skrypt_stat.py" > stats.txt'
|
||||
|
||||
archiveArtifacts "stats.txt"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user