Commit 458d1343 authored by Zakaria Guennoune's avatar Zakaria Guennoune
Browse files

fix widget name

parent b810cebb
......@@ -53,7 +53,7 @@ def checkoutCentreonBuild(buildBranch) {
stage('Deliver sources') {
node {
checkoutCentreonBuild(buildBranch)
env.WIDGET = 'engine-status'
env.WIDGET = 'global-health'
dir("centreon-widget-${env.WIDGET}") {
checkout scm
}
......@@ -85,7 +85,7 @@ try {
if (env.CHANGE_ID) { // pull request to comment with coding style issues
ViolationsToGitHub([
repositoryName: 'centreon-widget-engine-status',
repositoryName: 'centreon-widget-global-health',
pullRequestId: env.CHANGE_ID,
createSingleFileComments: true,
......@@ -160,8 +160,8 @@ try {
if ((env.BUILD == 'RELEASE') || (env.BUILD == 'REFERENCE')) {
slackSend channel: "#monitoring-metrology",
color: "#F30031",
message: "*FAILURE*: `CENTREON WIDGET ENGINE STATUS` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}> on branch ${env.BRANCH_NAME}\n" +
"*COMMIT*: <https://github.com/centreon/centreon-widget-engine-status/commit/${source.COMMIT}|here> by ${source.COMMITTER}\n" +
message: "*FAILURE*: `CENTREON WIDGET GLOBAL HEALTH` <${env.BUILD_URL}|build #${env.BUILD_NUMBER}> on branch ${env.BRANCH_NAME}\n" +
"*COMMIT*: <https://github.com/centreon/centreon-widget-global-health/commit/${source.COMMIT}|here> by ${source.COMMITTER}\n" +
"*INFO*: ${e}"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment