update jenkinsfile

This commit is contained in:
Maciej Czajka 2022-04-02 17:06:10 +02:00
parent 9ebf31e349
commit 5d3b40420b

View File

@ -1,9 +1,5 @@
pipeline { pipeline {
agent { agent any
docker {
image 'ubuntu:latest'
}
}
parameters{ parameters{
buildSelector( buildSelector(
defaultSelector: lastSuccessful(), defaultSelector: lastSuccessful(),
@ -14,9 +10,8 @@ pipeline {
stages { stages {
stage("Script") { stage("Script") {
steps { steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444356-create-dataset', selector: buildParameter('BUILD_SELECTOR') sh "docker run -t czajson99/ium:v7 --entrypoint ls -al"
sh " ./stats.sh"
archiveArtifacts 'lines.txt'
} }
} }
} }