ium_452662/Jenkinsfile

24 lines
446 B
Groovy

pipeline {
agent {
dockerfile true
}
stages{
stage('Copy data') {
steps {
copyArtifacts(projectName: 's452662-create-dataset', selector: lastSuccessful())
}
}
stage('Run'){
steps {
sh 'python sacred.py'
}
}
stage('Save model') {
steps{
archiveArtifacts 'model.h5'
}
}
}
}