Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix(chore): remove SQ analysis (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 authored Dec 21, 2022
1 parent 3ffebea commit 1a9d1ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
14 changes: 2 additions & 12 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,13 @@ def checkoutCentreonBuild(buildBranch) {
/*
** Pipeline code.
*/
stage('Sonar analysis') {
stage('Source') {
node {
dir('centreon-frontend') {
checkout scm
}
checkoutCentreonBuild(buildBranch)
discoverGitReferenceBuild()
withSonarQubeEnv('SonarQubeDev') {
sh "./centreon-build/jobs/frontend/${serie}/frontend-analysis.sh"
}

timeout (time:10, unit: 'MINUTES') {
def qualityGate = waitForQualityGate()
if (qualityGate.status != 'OK') {
currentBuild.result = 'FAIL'
}
}

source = readProperties file: 'source.properties'
env.VERSION = "${source.VERSION}"
Expand All @@ -69,7 +59,7 @@ stage('Sonar analysis') {
stash includes: '**', name: 'uicontext-centreon-build'
}
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
error('Sonar analysis stage failure');
error('Source stage failure');
}
}

Expand Down
10 changes: 0 additions & 10 deletions sonar-project.properties

This file was deleted.

0 comments on commit 1a9d1ba

Please sign in to comment.