Reduce printing during wait in distribution check
[releng/builder.git] / jjb / integration / include-raw-integration-distribution-check.sh
index 17fd4aefabf40883ed31c3c46000cf5e4ce0b9c5..b245cac555112d30cb8f4bc012636eb58e5166af 100644 (file)
@@ -60,6 +60,9 @@ export KARAF_REDIRECT="${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"
 echo "Starting controller..."
 ${WORKSPACE}/${BUNDLEFOLDER}/bin/start
 
+# No need for verbose printing during repeating operations.
+set +x
+
 echo "Waiting for controller to come up..."
 COUNT=0
 while true; do
@@ -93,6 +96,9 @@ while true; do
     COUNT=$(( ${COUNT} - 10 ))
 done
 
+# End of repeating operations, enable verbose printing.
+set -x
+
 # echo "Checking OSGi bundles..."
 # sshpass seems to fail with new karaf version
 # sshpass -p karaf ${WORKSPACE}/${BUNDLEFOLDER}/bin/client -u karaf 'bundle:list'