trigger other projects
Some checks failed
s434765-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
Karolina Oparczyk 2021-05-20 19:25:54 +02:00
parent 7264fa8810
commit fa941fb331

View File

@ -8,8 +8,12 @@ node {
name: 'BUILD_DATASET'),
buildSelector(defaultSelector: lastSuccessful(),
description: 'Which build to use for copying model',
name: 'BUILD_MODEL')
])
name: 'BUILD_MODEL'),
gitParameter(branchFilter: 'origin/(.*)',
defaultValue: 'master',
name: 'BRANCH',
type: 'PT_BRANCH')
])
]
)
@ -19,7 +23,7 @@ node {
stage('Test') {
checkout([$class: 'GitSCM', branches: [[name: '*/evaluation']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-create-dataset', selector: buildParameter("BUILD_DATASET")
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-training/master/', selector: buildParameter("BUILD_MODEL")
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-training/${params.BRANCH}/', selector: buildParameter("BUILD_MODEL")
copyArtifacts fingerprintArtifacts: true, projectName: 's434765-evaluation/evaluation/', selector: lastSuccessful()
sh '''
#!/usr/bin/env bash