Add model build selector
This commit is contained in:
parent
a0ccb6e3bd
commit
f42a5aca2f
@ -10,7 +10,12 @@ pipeline {
|
|||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
description: 'Which build to use for copying artifacts',
|
description: 'Which build to use for copying artifacts',
|
||||||
name: 'BUILD_SELECTOR'
|
name: 'BRANCH_SELECTOR'
|
||||||
|
)
|
||||||
|
buildSelector(
|
||||||
|
defaultSelector: lastSuccessful(),
|
||||||
|
description: 'Which build to use for copying model',
|
||||||
|
name: 'MODEL_BUILD_SELECTOR'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -24,14 +29,14 @@ pipeline {
|
|||||||
copyArtifacts projectName: 's444409-create-dataset', selector: lastSuccessful(), optional: true
|
copyArtifacts projectName: 's444409-create-dataset', selector: lastSuccessful(), optional: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Get model trend') {
|
stage('Get model') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts projectName: "s444409-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true
|
copyArtifacts projectName: "s444409-training/${params.BRANCH}/", selector: buildParameter('MODEL_BUILD_SELECTOR')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Get previous trend') {
|
stage('Get previous trend') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts projectName: "s444409-evaluation/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true
|
copyArtifacts projectName: "s444409-evaluation/${params.BRANCH}/", selector: buildParameter('BRANCH_SELECTOR'), optional: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Evaluate model and write results to file') {
|
stage('Evaluate model and write results to file') {
|
||||||
|
Loading…
Reference in New Issue
Block a user