【修改】$符号转义,避免 Groovy 语法歧义

This commit is contained in:
shaoguoji 2020-07-16 11:09:50 +08:00
parent 2986b5512a
commit 6fb2ab2f06
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -127,8 +127,8 @@ pipeline {
echo \$RTT_EXEC_PATH echo \$RTT_EXEC_PATH
export CPUS=$(cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l) export CPUS=\$(cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l)
scons -j${env.CPUS} -C bsp/\$RTT_BSP scons -j\${CPUS} -C bsp/\$RTT_BSP
""" """
} }
} }