ium_444356/Jenkinsfile_train-sacred

30 lines
686 B
Plaintext
Raw Normal View History

pipeline {
agent {
docker {
image 'maciejczajka'
2022-05-11 17:24:39 +02:00
args '-v /mlruns:/mlruns'
}
}
parameters {
string(
defaultValue: '100',
description: 'Number of epochs',
name: 'EPOCHS',
trim: false
)
}
stages {
stage('Script'){
steps {
copyArtifacts filter: '*', projectName: 's444356-create-dataset'
2022-05-11 15:12:35 +02:00
sh "python Biblioteka_DL/dllib-mlflow.py $EPOCHS"
archiveArtifacts artifacts: 'games_model.pkl'
sh 'ls -al'
sh 'cat MLProject'
2022-05-11 17:30:32 +02:00
sh 'ls Biblioteka_DL'
2022-05-11 17:29:03 +02:00
archiveArtifacts artifacts: 'Biblioteka_DL/mlruns/**'
sh 'rm -r Biblioteka_DL/mlruns'
}
}
}
}