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