diff --git a/Jenkinsfile b/Jenkinsfile index a5bb4d5..72948f3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ def executeBuildPush() { def executeScanCodeQuality() { stage('Scan Code Quality') { - container('node') { + container('sonar') { scanCodeQuality(projectKey: 'tictactoe') } } @@ -40,7 +40,7 @@ def executeBumpChart() { } // ── Pipeline ─────────────────────────────────────────────────────── -podTemplate(yaml: homelabK8sAgent(withTools: true)) { +podTemplate(yaml: homelabK8sAgent(withTools: true, withSonar: true)) { node(POD_LABEL) { withEnv(['DOCKER_HOST=tcp://localhost:2375']) { checkout scm