Zaktualizuj 'Jenkinsfile-evaluation'
This commit is contained in:
parent
492fd28a13
commit
b53fd7dc57
@ -4,20 +4,13 @@ pipeline {
|
|||||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t sebastianwalesa"
|
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t sebastianwalesa"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
parameters {
|
|
||||||
string(
|
|
||||||
defaultValue: '1000',
|
|
||||||
description: 'Number of epochs',
|
|
||||||
name: 'EPOCHS',
|
|
||||||
trim: false
|
|
||||||
)
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage('Train-stage'){
|
stage('Evaluate'){
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
|
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
|
||||||
sh 'python3 ./ml_pytorch.py $EPOCHS'
|
sh 'python3 ./ml_pytorch_results.py'
|
||||||
archiveArtifacts artifacts: 'Model_xPosition.pkl', followSymlinks: false
|
archiveArtifacts artifacts: 'metrics.txt, MSE.txt, RMSplot.png', followSymlinks: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user