ium_444356/Jenkinsfile_train-sacred
Maciej Czajka 237b98a503
All checks were successful
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head This commit looks good
update MLProject, jenkinsfile_train-sacred, dllib-mlflow.py
2022-05-09 22:48:11 +02:00

28 lines
605 B
Plaintext

pipeline {
agent {
docker {
image 'maciejczajka'
}
}
parameters {
string(
defaultValue: '100',
description: 'Number of epochs',
name: 'EPOCHS',
trim: false
)
}
stages {
stage('Script'){
steps {
copyArtifacts filter: '*', projectName: 's444356-create-dataset'
sh "python Biblioteka_DL/dllib-mlflow.py -e $EPOCHS"
archiveArtifacts artifacts: 'games_model.pkl'
sh 'ls -al'
sh 'cat MLProject'
sh 'ls mlruns'
archiveArtifacts artifacts: 'mlruns/**'
}
}
}
}