ium_444507/Jenkinsfile_training
Adam Wojdyla f6f1cabf10
All checks were successful
444507-training/pipeline/head This commit looks good
added Jenkinsfile for training
2022-05-01 18:34:51 +02:00

25 lines
766 B
Plaintext

pipeline {
agent {
docker { image 's444507_create_dataset_image:latest' }
}
stages {
stage('Get arifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful()
}
}
stage('Show stats') {
steps {
sh "python3 ./lab05_deepLearning.py"
}
}
}
post {
success {
archiveArtifacts artifacts: 'prediction_results.csv, CarPrices_pytorch_model.pkl', followSymlinks: false
}
always {
emailext body: "${currentBuild.currentResult}", subject: 's444507-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
}
}
}