added Jenkinsfile for training
All checks were successful
444507-training/pipeline/head This commit looks good
All checks were successful
444507-training/pipeline/head This commit looks good
This commit is contained in:
parent
8eafef1468
commit
f6f1cabf10
25
Jenkinsfile_training
Normal file
25
Jenkinsfile_training
Normal file
@ -0,0 +1,25 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user