From 9b606949755fe7515f7f47eeee33e66ee236e337 Mon Sep 17 00:00:00 2001 From: yellow-shine Date: Thu, 5 Dec 2024 09:42:40 +0800 Subject: [PATCH] enhance: [nightly ci] get log from loki instead of api-server (#38204) Signed-off-by: Yellow Shine --- ci/jenkins/Nightly2.groovy | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ci/jenkins/Nightly2.groovy b/ci/jenkins/Nightly2.groovy index f24c2129b5..e620c85f6f 100644 --- a/ci/jenkins/Nightly2.groovy +++ b/ci/jenkins/Nightly2.groovy @@ -1,4 +1,4 @@ -@Library('jenkins-shared-library@v0.67.0') _ +@Library('jenkins-shared-library@tekton') _ def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml' @@ -29,6 +29,12 @@ pipeline { yaml pod } } + + environment { + LOKI_ADDR = 'http://loki-1-loki-distributed-gateway.loki.svc.cluster.local' + LOKI_CLIENT_RETRIES = 3 + } + stages { stage('meta') { steps {