update jenkinsfile2
This commit is contained in:
parent
d5a50a8d12
commit
19bdf868ea
@ -1,15 +1,22 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker { image 'maciejczajka/ium:v2' }
|
||||||
image 'czajson99/ium:v1'
|
}
|
||||||
args '-it --entrypoint=/bin/bash'
|
parameters{
|
||||||
}
|
buildSelector(
|
||||||
}
|
defaultSelector: lastSuccessful(),
|
||||||
stages {
|
name: 'BUILD_SELECTOR',
|
||||||
stage('Test') {
|
description: 'Which build to use for copying artifacts'
|
||||||
steps {
|
)
|
||||||
sh './download.sh'
|
}
|
||||||
|
stages {
|
||||||
|
stage("Script") {
|
||||||
|
steps {
|
||||||
|
copyArtifacts fingerprintArtifacts: true, projectName: 's444356-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
|
sh " ./stats.sh"
|
||||||
|
archiveArtifacts 'lines.txt'
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user