This commit is contained in:
s434695 2021-05-23 22:24:20 +02:00
parent c3159f5512
commit 427330c0da

View File

@ -0,0 +1,35 @@
pipeline {
agent {
dockerfile true
}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying training artifacts',
name: 'WHICH_BUILD_TRAIN'
)
}
stages {
stage('copy artifacts')
{
steps
{
copyArtifacts(fingerprintArtifacts: true, projectName: 's434788-training/master', selector: buildParameter('WHICH_BUILD_TRAIN'))
}
}
stage('evaluate')
{
steps
{
catchError {
sh 'python3 evaluation.py'
}
}
}
}
}