【修改】$符号转义,避免 Groovy 语法歧义
This commit is contained in:
parent
2986b5512a
commit
6fb2ab2f06
|
@ -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
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue