From 8688d25df59d4ad2aa60daa42b19e1dbeb58ebb1 Mon Sep 17 00:00:00 2001 From: Jingzhao Date: Mon, 2 Mar 2020 22:39:48 +0800 Subject: [PATCH] Fix build failure issue in community CI In compass building script, the curl command gets file as an incorrectly format from URL which finally results in the compass building failure. In this patch, the script file will be download by wget. Then it will be run as a scripts by bash. Signed-off-by: Jingzhao Change-Id: I8bd49cb818a3c67a7e752a6a1e5521dc570e57b9 --- jjb/iec/iec-compass-build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jjb/iec/iec-compass-build.sh b/jjb/iec/iec-compass-build.sh index e604dfc..de560a6 100755 --- a/jjb/iec/iec-compass-build.sh +++ b/jjb/iec/iec-compass-build.sh @@ -22,6 +22,12 @@ check_env(){ fi } +checkout_arm64(){ + VERSION="dcc6d07" + git checkout ${VERSION} + sed -i 's:opnfv/:cyb70289/:' build/build-aarch64.yaml +} + check_env echo "begin build compass" @@ -29,6 +35,11 @@ git clone https://github.com/opnfv/compass4nfv.git cd compass4nfv +if [ "$(uname -m)" = 'aarch64' ]; then + echo "Checkout compass4nfv to Arm64 version" + checkout_arm64 +fi + COMPASS_WORK_DIR=$WORKSPACE/../compass-work mkdir -p $COMPASS_WORK_DIR -- 2.16.6