diff options
-rw-r--r-- | Jenkinsfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 5e0fb38..aa4dbf4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,11 +20,11 @@ pipeline { } steps { - sh '''mkdir /tmp/contrib -cp -r $WORKSPACE/* $WORKSPACE/.git /tmp/contrib/ + sh '''mkdir /tmp/contrib_$EXECUTOR_NUMBER +cp -r $WORKSPACE/* $WORKSPACE/.git /tmp/contrib_$EXECUTOR_NUMBER -mv -v /tmp/contrib $WORKSPACE/''' +cp -r /tmp/contrib_$EXECUTOR_NUMBER $WORKSPACE/''' sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT cd $WORKSPACE/contrib bash ./tools/chbuild.sh ./testhal/STM32/''' |