Fix Jenkins CMake flags on MSYSTEM switching
This commit is contained in:
@@ -145,7 +145,7 @@ build() {
|
|||||||
echo [-] Switching to MSYSTEM [$msys]
|
echo [-] Switching to MSYSTEM [$msys]
|
||||||
cd "$cwd"
|
cd "$cwd"
|
||||||
CHERE_INVOKING=yes MSYSTEM="$msys" JOB_BASE_NAME="$JOB_BASE_NAME" BUILD_TYPE="$BUILD_TYPE" BUILD_NUMBER="$BUILD_NUMBER" GIT_COMMIT="$GIT_COMMIT" \
|
CHERE_INVOKING=yes MSYSTEM="$msys" JOB_BASE_NAME="$JOB_BASE_NAME" BUILD_TYPE="$BUILD_TYPE" BUILD_NUMBER="$BUILD_NUMBER" GIT_COMMIT="$GIT_COMMIT" \
|
||||||
bash -lc 'exec "'$0'" -b "'$arch'" '$cmake_flags && job_status=0 # make sure the main script exits cleanly on any success
|
bash -lc 'exec "'$0'" -b "'$arch'" '"$cmake_flags" && job_status=0 # make sure the main script exits cleanly on any success
|
||||||
return $?
|
return $?
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@@ -354,7 +354,7 @@ EOF
|
|||||||
:
|
:
|
||||||
else
|
else
|
||||||
# Create binary tarball.
|
# Create binary tarball.
|
||||||
make_tar ../$job_name-Linux-$arch$build_fn.tar
|
VERBOSE=1 make_tar ../$job_name-Linux-$arch$build_fn.tar
|
||||||
local status=$?
|
local status=$?
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
Reference in New Issue
Block a user