fix apram branch
This commit is contained in:
parent
abf3329443
commit
414f4e614a
@ -3,10 +3,11 @@ pipeline {
|
||||
dockerfile true
|
||||
}
|
||||
parameters{
|
||||
string(
|
||||
defaultValue: 'master',
|
||||
description: 'training branch name',
|
||||
name: 'TRAINING_BRANCH'
|
||||
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'main', name: 'BRANCH', type: 'PT_BRANCH'
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'BUILD_SELECTOR'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
@ -30,7 +31,7 @@ pipeline {
|
||||
stage('Copy') {
|
||||
steps {
|
||||
copyArtifacts projectName: 's444417-create-dataset'
|
||||
copyArtifacts projectName: 's444417-training/$TRAINING_BRANCH'
|
||||
copyArtifacts projectName: "s444417-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true
|
||||
sh 'python3 ./src/evalScript.py'
|
||||
archiveArtifacts 'trainResults.csv'
|
||||
sh "ls -la"
|
||||
|
Loading…
Reference in New Issue
Block a user