lab6 work
This commit is contained in:
parent
eda9bf3a8a
commit
ea94753ef4
@ -2,6 +2,9 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
dockerfile true
|
dockerfile true
|
||||||
}
|
}
|
||||||
|
parameters {
|
||||||
|
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH'
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Stage 1') {
|
stage('Stage 1') {
|
||||||
steps {
|
steps {
|
||||||
@ -10,7 +13,7 @@ pipeline {
|
|||||||
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
|
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
|
||||||
echo 'Datasets copied'
|
echo 'Datasets copied'
|
||||||
echo 'Copying model from the training job...'
|
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'
|
echo 'Model copied'
|
||||||
sh 'tar xvzf lego_reg_model.tar.gz'
|
sh 'tar xvzf lego_reg_model.tar.gz'
|
||||||
echo 'Optional copying of the metrics file from previous build...'
|
echo 'Optional copying of the metrics file from previous build...'
|
||||||
|
Loading…
Reference in New Issue
Block a user