From b139cebb1f92dcd27ed2a27f8d6a526a569e565c Mon Sep 17 00:00:00 2001 From: maxcask Date: Fri, 31 Jan 2025 14:12:21 +0400 Subject: [PATCH] add env var to call system trust --- vars/sonarExecuteScan.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/sonarExecuteScan.groovy b/vars/sonarExecuteScan.groovy index dcb59e5cb..36ecc862c 100644 --- a/vars/sonarExecuteScan.groovy +++ b/vars/sonarExecuteScan.groovy @@ -29,6 +29,7 @@ void call(Map parameters = [:]) { withEnv([ "PIPER_parametersJSON=${groovy.json.JsonOutput.toJson(stepParameters)}", "PIPER_correlationID=${env.BUILD_URL}", + "PIPER_systemTrustToken=${env.PIPER_systemTrustToken}", ]) { String customDefaultConfig = piperExecuteBin.getCustomDefaultConfigsArg() String customConfigArg = piperExecuteBin.getCustomConfigArg(script)