Make nightlies process more robust
This commit is contained in:
@@ -26,10 +26,8 @@ echo "Call sdcard generation"
|
|||||||
code/tools/nightly23/build-sdcard.sh
|
code/tools/nightly23/build-sdcard.sh
|
||||||
|
|
||||||
echo "Delete companion container in case of previous failed atempt"
|
echo "Delete companion container in case of previous failed atempt"
|
||||||
RUNNING=$(docker inspect --format="{{ .State.Running }}" companion 2> /dev/null)
|
if [ "$(docker ps -aq -f name=companion)" ]; then
|
||||||
|
docker rm companion
|
||||||
if [ $? -ne 1 ]; then
|
|
||||||
docker rm --force companion
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Build firmware stamps"
|
echo "Build firmware stamps"
|
||||||
|
|||||||
Reference in New Issue
Block a user