-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update project templates and examples to - Lerna 6..x - Typescript 4.9 - Theia Community Release 1.29 - Newest version of the GLSP config dev package - Set minimal supported node version to 14. eclipse-glsp/glsp#676 eclipse-glsp/glsp#680 Update jenkins file to - ensure that we don't exhaust resource limits - enable error reporting when master builds fails eclipse-glsp/glsp#794
- Loading branch information
Showing
26 changed files
with
17,401 additions
and
16,723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ kind: Pod | |
spec: | ||
containers: | ||
- name: ci | ||
image: eclipseglsp/ci:alpine | ||
image: eclipseglsp/ci:alpine-v3.1 | ||
tty: true | ||
resources: | ||
limits: | ||
|
@@ -59,6 +59,7 @@ pipeline { | |
environment { | ||
YARN_CACHE_FOLDER = "${env.WORKSPACE}/yarn-cache" | ||
SPAWN_WRAP_SHIM_ROOT = "${env.WORKSPACE}" | ||
EMAIL_TO= "[email protected]" | ||
} | ||
|
||
stages { | ||
|
@@ -248,6 +249,36 @@ pipeline { | |
// Record maven,java warnings | ||
recordIssues enabledForFailure: true, skipPublishingChecks:true, tools: [mavenConsole(), java()] | ||
} | ||
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}" | ||
} | ||
} | ||
} | ||
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}" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.