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