[odl] Skip creating non-existing resources
[fuel.git] / build / fuel_build_loop
index 7e26b98..324f28c 100755 (executable)
@@ -12,7 +12,7 @@
 echo "MIRROR_MOS_UBUNTU_ROOT=${MIRROR_MOS_UBUNTU_ROOT}"
 echo "MIRROR_FUEL=${MIRROR_FUEL}"
 
-maxcount=10
+maxcount=3
 cnt=0
 rc=1
 while [ $cnt -lt $maxcount ] && [ $rc -ne 0 ]
@@ -20,7 +20,6 @@ do
     cnt=$[cnt + 1]
     echo -e "\n\n\n*** Starting build attempt # $cnt"
     cd /tmp/fuel-main
-    make clean
     make iso
     rc=$?
     if [ $rc -ne 0 ]; then