From fecfa2aa51939c6b376a139590370311aad18f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Redon?= Date: Tue, 7 Aug 2018 17:44:08 +0200 Subject: jenkins: clean after upload the upload failed because after the firmware were built (make), they where removed (make clean). now they are removed only after the upload. Change-Id: Ie4421a6fa9207eb541107de9c14f265626f6be96 --- contrib/jenkins.sh | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index 5ce5993..bdf2b39 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -36,7 +36,6 @@ for build in $BUILDS; do echo echo "=============== $board / $app START ==============" make BOARD="$board" APP="$app" - make BOARD="$board" APP="$app" clean echo "=============== $board / $app RES:$? ==============" done @@ -56,19 +55,25 @@ make make clean if [ "x$publish" = "x--publish" ]; then - echo - echo "=============== UPLOAD BUILD ==============" - mkdir out/ - cp firmware/bin/*.bin out/ + echo + echo "=============== UPLOAD BUILD ==============" - cat > "$WORKSPACE/known_hosts" < "$WORKSPACE/known_hosts" <