From 55d87c0c14b676e0efd561bfc44e71697c519c95 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 21 Apr 2026 20:16:59 -0300 Subject: [PATCH] ci(quality): bind sonarqube token credential in pipelines --- Jenkinsfile | 1 + ci/Jenkinsfile.titan-iac | 1 + services/logging/Jenkinsfile.data-prepper | 1 + 3 files changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7ccb317d..e0efaf90 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,6 +33,7 @@ spec: PUSHGATEWAY_URL = 'http://platform-quality-gateway.monitoring.svc.cluster.local:9091' SONARQUBE_HOST_URL = 'http://sonarqube.quality.svc.cluster.local:9000' SONARQUBE_PROJECT_KEY = 'titan_iac' + SONARQUBE_TOKEN = credentials('sonarqube-token') VM_URL = 'http://victoria-metrics-single-server.monitoring.svc.cluster.local:8428' QUALITY_GATE_SONARQUBE_ENFORCE = '0' QUALITY_GATE_SONARQUBE_REPORT = 'build/sonarqube-quality-gate.json' diff --git a/ci/Jenkinsfile.titan-iac b/ci/Jenkinsfile.titan-iac index 5dda8b76..13f95561 100644 --- a/ci/Jenkinsfile.titan-iac +++ b/ci/Jenkinsfile.titan-iac @@ -32,6 +32,7 @@ spec: PUSHGATEWAY_URL = 'http://platform-quality-gateway.monitoring.svc.cluster.local:9091' SONARQUBE_HOST_URL = 'http://sonarqube.quality.svc.cluster.local:9000' SONARQUBE_PROJECT_KEY = 'titan_iac' + SONARQUBE_TOKEN = credentials('sonarqube-token') VM_URL = 'http://victoria-metrics-single-server.monitoring.svc.cluster.local:8428' QUALITY_GATE_SONARQUBE_ENFORCE = '0' QUALITY_GATE_SONARQUBE_REPORT = 'build/sonarqube-quality-gate.json' diff --git a/services/logging/Jenkinsfile.data-prepper b/services/logging/Jenkinsfile.data-prepper index efe3a929..91507225 100644 --- a/services/logging/Jenkinsfile.data-prepper +++ b/services/logging/Jenkinsfile.data-prepper @@ -35,6 +35,7 @@ spec: PUSHGATEWAY_URL = 'http://platform-quality-gateway.monitoring.svc.cluster.local:9091' SONARQUBE_HOST_URL = 'http://sonarqube.quality.svc.cluster.local:9000' SONARQUBE_PROJECT_KEY = 'data_prepper' + SONARQUBE_TOKEN = credentials('sonarqube-token') QUALITY_GATE_SONARQUBE_ENFORCE = '0' QUALITY_GATE_SONARQUBE_REPORT = 'build/sonarqube-quality-gate.json' QUALITY_GATE_IRONBANK_ENFORCE = '0'