new files :3
This commit is contained in:
parent
e61e90da02
commit
657d95127d
35
Jenkinsfile_evaluate
Normal file
35
Jenkinsfile_evaluate
Normal file
@ -0,0 +1,35 @@
|
||||
pipeline {
|
||||
agent {docker { image 'adnovac/ium_s434760:1.0' }}
|
||||
parameters{
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'WHICH_BUILD'
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('copy artifacts')
|
||||
{
|
||||
steps
|
||||
{
|
||||
copyArtifacts(fingerprintArtifacts: true, projectName: 's434788-training', selector: buildParameter('WHICH_BUILD'))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
mail body: 'SUCCESS', subject: 's434788 evaluate', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
unstable {
|
||||
mail body: 'UNSTABLE', subject: 's434788 evaluate', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
failure {
|
||||
mail body: 'FAILURE', subject: 's434788 evaluate', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
changed {
|
||||
mail body: 'CHANGED', subject: 's434788 evaluate', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
}
|
@ -52,13 +52,13 @@ pipeline {
|
||||
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
unstable {
|
||||
mail body: 'UNSTABLE', subject: 's434788', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
mail body: 'UNSTABLE', subject: 's434788 training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
failure {
|
||||
mail body: 'FAILURE', subject: 's434788', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
mail body: 'FAILURE', subject: 's434788 training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
changed {
|
||||
mail body: 'CHANGED', subject: 's434788', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
mail body: 'CHANGED', subject: 's434788 training', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user