mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
fckoff
This commit is contained in:
parent
6817551094
commit
d0a8d8d437
1 changed files with 20 additions and 1 deletions
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -1,5 +1,13 @@
|
|||
pipeline {
|
||||
|
||||
environment {
|
||||
|
||||
SLACK_CHANNEL = "#gayfuckassignment"
|
||||
SLACK_TEAM_DOMAIN = "yeetus345"
|
||||
SLACK_TOKEN = credentials("ilhAultZiny2Kbijeb1h6XCC")
|
||||
DEPLOY_URL = "http://localhost:9090/job/spring-petclinic"
|
||||
}
|
||||
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
|
@ -7,7 +15,18 @@ pipeline {
|
|||
slackSend channel: 'notif', message: "Successful build!"
|
||||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
slackSend(
|
||||
teamDomain: "${env.SLACK_TEAM_DOMAIN}",
|
||||
token: "${env.SLACK_TOKEN}",
|
||||
channel: "${env.SLACK_CHANNEL}",
|
||||
color: "good",
|
||||
message: "I absolutetly hate this, but hey the build succeeded"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
|
|
Loading…
Reference in a new issue