Update 'lab6/Jenkinsfile_eval'
This commit is contained in:
parent
ff02850749
commit
72e3a22c33
@ -4,6 +4,11 @@ pipeline {
|
||||
}
|
||||
parameters {
|
||||
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'BUILD_SELECTOR'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('Stage 1') {
|
||||
@ -14,7 +19,7 @@ pipeline {
|
||||
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
|
||||
echo 'Datasets copied'
|
||||
echo 'Copying model from the training job...'
|
||||
copyArtifacts filter: 'lego_reg_model.tar.gz', projectName: 's449288-training/master/'
|
||||
copyArtifacts filter: 'lego_reg_model.tar.gz', projectName: 's449288-training/master/', selector: buildParameter('BUILD_SELECTOR')
|
||||
echo 'Model copied'
|
||||
sh 'tar xvzf lego_reg_model.tar.gz'
|
||||
echo 'Optional copying of the metrics file from previous build...'
|
||||
|
Loading…
Reference in New Issue
Block a user