*
This commit is contained in:
parent
c3159f5512
commit
427330c0da
35
Jenkinsfile-s434695-predict-s434788
Normal file
35
Jenkinsfile-s434695-predict-s434788
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user