From 6fb2ab2f0637e690bf2158670865515043af81c3 Mon Sep 17 00:00:00 2001 From: shaoguoji Date: Thu, 16 Jul 2020 11:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91$=E7=AC=A6?= =?UTF-8?q?=E5=8F=B7=E8=BD=AC=E4=B9=89=EF=BC=8C=E9=81=BF=E5=85=8D=20Groovy?= =?UTF-8?q?=20=E8=AF=AD=E6=B3=95=E6=AD=A7=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ffcdceee2..a106793bb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -127,8 +127,8 @@ pipeline { echo \$RTT_EXEC_PATH - export CPUS=$(cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l) - scons -j${env.CPUS} -C bsp/\$RTT_BSP + export CPUS=\$(cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l) + scons -j\${CPUS} -C bsp/\$RTT_BSP """ } } -- GitLab