Zaktualizuj 'Jenkinsfile_sacred'
This commit is contained in:
parent
0430d199a9
commit
293a2d5fe4
@ -1,7 +1,6 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=51854c15661583860a60db232a7026f0 --build-arg CUTOFF=${params.CUTOFF} -t kgirejko"
|
||||
docker { image 'korneliag/ium478815:1.0' }
|
||||
}
|
||||
}
|
||||
parameters {
|
||||
@ -30,12 +29,8 @@ pipeline {
|
||||
stage('Main train'){
|
||||
steps {
|
||||
copyArtifacts filter: '*', projectName: 's478815-create-dataset'
|
||||
sh 'python3 ./train-sacred.py with "epochs=$EPOCHS"'
|
||||
|
||||
archiveArtifacts artifacts: 'experiment/_sources/*, experiment/**, modelS.pkl, output.txt'
|
||||
sh 'rm -r experiment'
|
||||
|
||||
build job: 's478815-evaluation/master/'
|
||||
sh 'python3 ./train-mlflow.py with "epochs=$EPOCHS"'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user