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)