lab6 work
This commit is contained in:
parent
eda9bf3a8a
commit
ea94753ef4
@ -2,6 +2,9 @@ pipeline {
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
|
||||
}
|
||||
stages {
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
@ -10,7 +13,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/$BRANCH/'
|
||||
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