Add container support from Hub
This commit is contained in:
parent
66f9c49c8d
commit
49e7eb6c25
@ -1,11 +1,14 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
|
docker { image 'jarmosz/ium:1.1' }
|
||||||
|
}
|
||||||
parameters {
|
parameters {
|
||||||
buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR')
|
buildSelector(defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage("Clone repo & print stats"){
|
stage("Clone repo & print stats"){
|
||||||
steps {
|
steps {
|
||||||
|
sh "python3 script.py"
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
sh "chmod 777 ./count_files_lines.sh"
|
sh "chmod 777 ./count_files_lines.sh"
|
||||||
sh "./count_files_lines.sh"
|
sh "./count_files_lines.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user