Zaktualizuj 'Jenkinsfile_training'
Some checks failed
s430705-training/pipeline/head There was a failure building this commit
Some checks failed
s430705-training/pipeline/head There was a failure building this commit
Add mount mlflow folder
This commit is contained in:
parent
08accfc904
commit
bb3e3ae545
@ -1,5 +1,8 @@
|
||||
pipeline {
|
||||
agent {dockerfile true}
|
||||
environment {
|
||||
img = docker.build('s430705/ium:4')
|
||||
}
|
||||
parameters {
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
@ -13,11 +16,17 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
stage('MLFLOW mounted'){
|
||||
img.inside('-v /tmp/mlruns:/tmp/mlruns -v /mlruns:/mlruns ') {
|
||||
sh "export MLFLOW_TRACKING_URI=http://172.17.0.1:5000"
|
||||
sh "python3 lab08_mfl.py"
|
||||
}
|
||||
}
|
||||
stage('copyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's430705-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
sh "python3 lab08_mfl.py"
|
||||
sh "export MLFLOW_TRACKING_URI=http://172.17.0.1:5000"
|
||||
sh "rm -rf movies_imdb"
|
||||
sh "python3 lab08_mfl.py"
|
||||
sh "python3 lab06_training.py ${epochs}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user