Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7024

Notify users when a background task fails

    XMLWordPrintable

    Details

      Description

      The Problem

      As the administrator of some SonarQube projects, I don't have any way to know when a analysis report can't be integrated by SonarQube. It might take several days to have one member of the team figuring out that something goes wrong. In such case of failure, I'd like to quickly get an email notification.

      The Solution

      • Add a new "Background tasks in failure on my administered projects" to the "Overall notifications" section
      • Add a new "Background tasks in failure" to the "Notifications per project" section
      • When a background task fails, the following email should be sent to
      [XXXX] ${ProjectName} (${BranchName}): Background task in failure
      
      ${ProjectName} (${BranchName})
      Background task: ${taskID} 
      Submission time: ${submissionTime} 
      Failure time: ${failureTime}
      
      Error Message : ${truncatedErrorDetails}
      
      For more details: ${urlToTheProjectBackgroundTasks}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              fabrice.bellingard Fabrice Bellingard
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: