From 779e6de70797d92b9fac6512d1c8d3a50fc0b666 Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Sun, 27 Nov 2022 15:26:07 +0100 Subject: [PATCH] jenkinsfile: use CC env for conditional --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f1b1a31..56bcd96 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,7 +51,7 @@ pipeline { stage('Download GCC toolchain') { when { expression { - def res = sh(script: "${GCC_TARGET}-gcc -v", returnStatus: true) + def res = sh(script: "${CC} -v", returnStatus: true) if (res > 0) { return true