!38 【更新】Jenkinsfile 并行构建

Merge pull request !38 from 国际哥/jenkins_build
This commit is contained in:
aozima 2020-07-16 11:23:49 +08:00 committed by Gitee
commit 69258cd912
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

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