ium_444356/Jenkinsfile_train-sacred

28 lines
605 B
Plaintext
Raw Normal View History

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