2022-05-15 12:43:44 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
docker { image 'sebastianwalesa/ium:1.0' }
|
|
|
|
}
|
|
|
|
parameters {
|
|
|
|
string(
|
|
|
|
defaultValue: '1000',
|
|
|
|
description: 'Number of epochs',
|
|
|
|
name: 'EPOCHS',
|
|
|
|
trim: false
|
|
|
|
)
|
|
|
|
}
|
|
|
|
stages {
|
2022-05-15 12:47:16 +02:00
|
|
|
stage('MLflow-stage'){
|
2022-05-15 12:43:44 +02:00
|
|
|
steps {
|
|
|
|
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
|
2022-05-15 12:47:16 +02:00
|
|
|
sh 'python3 ml_pytroch_mlflow.py with "epochs=$EPOCHS"'
|
2022-05-15 12:43:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|