Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tortmayr committed Dec 7, 2022
1 parent 350b933 commit e356435
Show file tree
Hide file tree
Showing 8 changed files with 141 additions and 2,393 deletions.
46 changes: 23 additions & 23 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -249,34 +249,34 @@ pipeline {
// Record maven,java warnings
recordIssues enabledForFailure: true, skipPublishingChecks:true, tools: [mavenConsole(), java()]
}
failure {
}
failure {
script {
if (env.BRANCH_NAME == 'master') {
echo "Build result FAILURE: Send email notification to ${EMAIL_TO}"
emailext attachLog: true,
body: 'Job: ${JOB_NAME}<br>Build Number: ${BUILD_NUMBER}<br>Build URL: ${BUILD_URL}',
mimeType: 'text/html', subject: 'Build ${JOB_NAME} (#${BUILD_NUMBER}) FAILURE', to: "${EMAIL_TO}"
}
if (env.BRANCH_NAME == 'master') {
echo "Build result FAILURE: Send email notification to ${EMAIL_TO}"
emailext attachLog: true,
body: 'Job: ${JOB_NAME}<br>Build Number: ${BUILD_NUMBER}<br>Build URL: ${BUILD_URL}',
mimeType: 'text/html', subject: 'Build ${JOB_NAME} (#${BUILD_NUMBER}) FAILURE', to: "${EMAIL_TO}"
}
}
unstable {
script {
if (env.BRANCH_NAME == 'master') {
echo "Build result UNSTABLE: Send email notification to ${EMAIL_TO}"
emailext attachLog: true,
body: 'Job: ${JOB_NAME}<br>Build Number: ${BUILD_NUMBER}<br>Build URL: ${BUILD_URL}',
mimeType: 'text/html', subject: 'Build ${JOB_NAME} (#${BUILD_NUMBER}) UNSTABLE', to: "${EMAIL_TO}"
}
}
unstable {
script {
if (env.BRANCH_NAME == 'master') {
echo "Build result UNSTABLE: Send email notification to ${EMAIL_TO}"
emailext attachLog: true,
body: 'Job: ${JOB_NAME}<br>Build Number: ${BUILD_NUMBER}<br>Build URL: ${BUILD_URL}',
mimeType: 'text/html', subject: 'Build ${JOB_NAME} (#${BUILD_NUMBER}) UNSTABLE', to: "${EMAIL_TO}"
}
}
fixed {
script {
if (env.BRANCH_NAME == 'master') {
echo "Build back to normal: Send email notification to ${EMAIL_TO}"
emailext attachLog: false,
body: 'Job: ${JOB_NAME}<br>Build Number: ${BUILD_NUMBER}<br>Build URL: ${BUILD_URL}',
mimeType: 'text/html', subject: 'Build ${JOB_NAME} back to normal (#${BUILD_NUMBER})', to: "${EMAIL_TO}"
}
}
fixed {
script {
if (env.BRANCH_NAME == 'master') {
echo "Build back to normal: Send email notification to ${EMAIL_TO}"
emailext attachLog: false,
body: 'Job: ${JOB_NAME}<br>Build Number: ${BUILD_NUMBER}<br>Build URL: ${BUILD_URL}',
mimeType: 'text/html', subject: 'Build ${JOB_NAME} back to normal (#${BUILD_NUMBER})', to: "${EMAIL_TO}"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Each example is self-contained and provides both, an example diagram client (`gl

The following libraries/frameworks need to be installed on your system:

- [Node.js](https://nodejs.org/en/) `>= 12.14.1`
- [Node.js](https://nodejs.org/en/) `>=14.18.0`
- [Yarn](https://classic.yarnpkg.com/en/docs/install#debian-stable) `>=1.7.0`
- [Java](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) `>=11`
- [Maven](https://maven.apache.org/) `>=3.6.0`
Expand Down
2 changes: 1 addition & 1 deletion project-templates/java-emf-eclipse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The most important entry points are:

The following libraries/frameworks need to be installed on your system:

- [Node.js](https://nodejs.org/en/) `>= 12.14.1`
- [Node.js](https://nodejs.org/en/) `>=14.18.0`
- [Yarn](https://classic.yarnpkg.com/en/docs/install#debian-stable) `>=1.7.0`
- [Java](https://adoptium.net/temurin/releases) `>=11`
- [Maven](https://maven.apache.org/) `>=3.6.0`
Expand Down
Loading

0 comments on commit e356435

Please sign in to comment.