ium_430705/Jenkinsfile_training

29 lines
778 B
Plaintext
Raw Normal View History

2021-05-07 22:36:28 +02:00
pipeline {
agent {dockerfile true}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
}
stages {
stage('copyArtifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's430705-create-dataset', selector: buildParameter('BUILD_SELECTOR')
}
}
stage('Archive artifacts') {
steps{
archiveArtifacts artifacts: 'model_movies'
}
}
2021-05-07 23:03:14 +02:00
stage('Send notification'){
steps{
emailext body: currentBuild.result ?: 'SUCCESS +1 YEA',
subject: 's43705',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
}
}
2021-05-07 22:36:28 +02:00
}
}