diff --git a/Jenkinsfile b/Jenkinsfile index 346700d..af01313 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -82,5 +82,19 @@ pipeline } } } + post { + always { + script { + env.color = "${currentBuild.currentResult == 'SUCCESS' ? 'green' : 'red'}" + } + + echo 'Sending e-mail.' + sh "printenv | sort" + emailext body: "${currentBuild.currentResult} - ${env.JOB_NAME} (#${env.BUILD_NUMBER})
", + recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], + subject: "Jenkins Build - ${currentBuild.currentResult} - $JOB_NAME (#$BUILD_NUMBER)" + + } + } } diff --git a/README.md b/README.md index 3265a84..c56f79c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# nanoboot-checks +# nanoboot-javaformat-checkstyle This is a Java library, which encapsulates Nanoboot Checkstyle XML configuration file. diff --git a/pom.xml b/pom.xml index 062aadd..657753e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@