fix apram branch
Some checks failed
s444417-training/pipeline/head This commit looks good
s444417-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
s444417 2022-05-07 11:05:23 +02:00
parent e74b92a5ce
commit 25a8da5c2e

View File

@ -3,7 +3,11 @@ pipeline {
dockerfile true
}
parameters{
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'main', name: 'BRANCH', type: 'PT_BRANCH'
string(
defaultValue: 'master',
description: 'training branch name',
name: 'TRAINING_BRANCH'
)
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
@ -31,7 +35,7 @@ pipeline {
stage('Copy') {
steps {
copyArtifacts projectName: 's444417-create-dataset'
copyArtifacts projectName: 's444417-training/${params.BRANCH}'
copyArtifacts projectName: 's444417-training/$TRAINING_BRANCH'
sh 'python3 ./src/evalScript.py'
archiveArtifacts 'trainResults.csv'
sh "ls -la"