From f0aff4ea55b4ffde3ee0421f5d2b5401ca56e694 Mon Sep 17 00:00:00 2001 From: Ben Brooks Date: Mon, 9 Oct 2023 13:41:35 +0100 Subject: [PATCH] Avoid Groovy secret env var interpolation (#6505) --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 460bfc440b..c231e1f34a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -243,7 +243,7 @@ pipeline { // Replace covermode values with set just for coveralls to reduce the variability in reports. sh 'awk \'NR==1{print "mode: set";next} $NF>0{$NF=1} {print}\' cover_ce.out > cover_ce_coveralls.out' sh 'which goveralls' // check if goveralls is installed - sh "goveralls -coverprofile=cover_ce_coveralls.out -service=uberjenkins -repotoken=${COVERALLS_TOKEN} || true" + sh 'goveralls -coverprofile=cover_ce_coveralls.out -service=uberjenkins -repotoken=$COVERALLS_TOKEN || true' } } }