Update apps/cluster-health-dashboard/Jenkinsfile
This commit is contained in:
6
apps/cluster-health-dashboard/Jenkinsfile
vendored
6
apps/cluster-health-dashboard/Jenkinsfile
vendored
@@ -3,7 +3,7 @@ pipeline {
|
||||
|
||||
environment {
|
||||
DASHBOARD_NAME = 'cluster-health-dashboard'
|
||||
OUTPUT_DIR = '${WORKSPACE}/dashboard-reports'
|
||||
OUTPUT_DIR = 'dashboard-reports'
|
||||
PROMETHEUS_URL = 'http://k8s-monitoring-kube-promet-prometheus.monitoring.svc.cluster.local:9090'
|
||||
GRAFANA_URL = 'http://grafana.monitoring.svc.cluster.local:80'
|
||||
|
||||
@@ -45,8 +45,8 @@ pipeline {
|
||||
script {
|
||||
echo "🚀 Starting Cluster Health Dashboard generation..."
|
||||
sh """
|
||||
mkdir -p \${WORKSPACE}/dashboard-reports
|
||||
rm -f \${WORKSPACE}/dashboard-reports/*
|
||||
mkdir -p dashboard-reports
|
||||
rm -f dashboard-reports/*
|
||||
"""
|
||||
|
||||
if (params.SEND_TELEGRAM) {
|
||||
|
||||
Reference in New Issue
Block a user