IUM_06 - test
This commit is contained in:
parent
589b7455f2
commit
3024821527
8
evaluation/Jenkinsfile
vendored
8
evaluation/Jenkinsfile
vendored
@ -6,7 +6,8 @@ pipeline {
|
|||||||
branchFilter: 'origin/(.*)',
|
branchFilter: 'origin/(.*)',
|
||||||
defaultValue: 'origin/main',
|
defaultValue: 'origin/main',
|
||||||
description: 'Branch to build',
|
description: 'Branch to build',
|
||||||
name: 'BRANCH'
|
name: 'BRANCH',
|
||||||
|
type: 'PT_BRANCH'
|
||||||
)
|
)
|
||||||
buildSelector(
|
buildSelector(
|
||||||
defaultSelector: lastSuccessful(),
|
defaultSelector: lastSuccessful(),
|
||||||
@ -32,10 +33,7 @@ pipeline {
|
|||||||
|
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def projectName = "s464863-training/${params.BRANCH}".replace('origin/', '')
|
def projectName = "s464863-training/${params.BRANCH}"
|
||||||
echo "Project name: ${projectName}"
|
|
||||||
def projectName2 = "z-s464863-create-dataset/${params.BRANCH}"
|
|
||||||
echo "Project name: ${projectName2}"
|
|
||||||
copyArtifacts(projectName: projectName, filter: 'models/model.pth', selector: buildParameter('BUILD_SELECTOR'))
|
copyArtifacts(projectName: projectName, filter: 'models/model.pth', selector: buildParameter('BUILD_SELECTOR'))
|
||||||
copyArtifacts(projectName: 'z-s464863-create-dataset', filter: 'datasets/test.csv', selector: lastSuccessful())
|
copyArtifacts(projectName: 'z-s464863-create-dataset', filter: 'datasets/test.csv', selector: lastSuccessful())
|
||||||
copyArtifacts(projectName: 's464863-evaluation/main', filter: 'metrics.csv', selector: lastSuccessful(), optional: true)
|
copyArtifacts(projectName: 's464863-evaluation/main', filter: 'metrics.csv', selector: lastSuccessful(), optional: true)
|
||||||
|
Loading…
Reference in New Issue
Block a user