2022-04-01 14:07:51 +02:00
|
|
|
pipeline {
|
2022-04-02 15:05:37 +02:00
|
|
|
agent {
|
2022-04-02 15:15:44 +02:00
|
|
|
docker {
|
|
|
|
image 'maciejczajka/ium:v3'
|
2022-04-02 15:17:04 +02:00
|
|
|
args '-ti'
|
2022-04-02 15:15:44 +02:00
|
|
|
}
|
2022-04-02 15:05:37 +02:00
|
|
|
}
|
|
|
|
parameters{
|
|
|
|
buildSelector(
|
|
|
|
defaultSelector: lastSuccessful(),
|
|
|
|
name: 'BUILD_SELECTOR',
|
|
|
|
description: 'Which build to use for copying artifacts'
|
|
|
|
)
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage("Script") {
|
|
|
|
steps {
|
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's444356-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
|
|
|
sh " ./stats.sh"
|
|
|
|
archiveArtifacts 'lines.txt'
|
|
|
|
|
|
|
|
}
|
2022-04-01 14:07:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|