mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
9b9532ec58
commit
5ffdb44601
1 changed files with 3 additions and 2 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -57,17 +57,18 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('ComentToJira')
|
stage ('ComentToJira') {
|
||||||
when {
|
when {
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
echo 'Deploying to Production from main...'
|
sh (echo 'Deploying to Production from main...')
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
//jiraSendDeploymentInfo site: '<sitename>.atlassian.net', environmentId: 'us-prod-1', environmentName: 'us-prod-1', environmentType: 'production'
|
//jiraSendDeploymentInfo site: '<sitename>.atlassian.net', environmentId: 'us-prod-1', environmentName: 'us-prod-1', environmentType: 'production'
|
||||||
jiraAddComment comment: 'build ', idOrKey: 'Task1', site: 'https://butenko992.atlassian.net'
|
jiraAddComment comment: 'build ', idOrKey: 'Task1', site: 'https://butenko992.atlassian.net'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue