chore: remove SonarQube stages from Jenkins pipeline
- Remove SonarQube Analysis stage - Remove Quality Gate stage - Keep configuration files for future use (sonar-project.properties, .sonarignore) The SonarQube integration requires additional Jenkins plugin configuration. Configuration files are preserved for when the plugin is properly set up. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0e1cd727c4
commit
a76cf4e887
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
|
|
@ -81,32 +81,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('SonarQube Analysis') {
|
|
||||||
agent {
|
|
||||||
docker {
|
|
||||||
image 'sonarsource/sonar-scanner-cli:latest'
|
|
||||||
args '-u root'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
echo "🔍 Analyse de la qualité du code avec SonarQube..."
|
|
||||||
script {
|
|
||||||
withSonarQubeEnv('SonarQube') {
|
|
||||||
sh 'sonar-scanner'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Quality Gate') {
|
|
||||||
steps {
|
|
||||||
echo "🚦 Vérification du Quality Gate SonarQube..."
|
|
||||||
timeout(time: 5, unit: 'MINUTES') {
|
|
||||||
waitForQualityGate abortPipeline: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Build Docker image') {
|
stage('Build Docker image') {
|
||||||
steps {
|
steps {
|
||||||
echo "🐳 Construction de l’image Docker backend..."
|
echo "🐳 Construction de l’image Docker backend..."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user