diff --git a/Jenkinsfile b/Jenkinsfile index 494c658..23a48d4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,3 @@ -@Library('sd')_ -def kubeLabel = getKubeLabel() - pipeline { agent { label 'java11' } @@ -20,25 +17,5 @@ pipeline { sh "mvn clean -U -B deploy" } } - - stage('result') { - steps { - script { currentBuild.result = 'SUCCESS' } - } - } - } - - post { - failure { - slackSend color: 'danger', message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} Failure (<${env.BUILD_URL}|Open>)" - } - - changed { - script { - if ('SUCCESS'.equals(currentBuild.result)) { - slackSend color: 'good', message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} Back to normal (<${env.BUILD_URL}|Open>)" - } - } - } } }