+if [ "$pull" == "true" ] || [ "$PULL" == "yes" ]
+then
+ options+=" -P"
+fi
+
+set +e
+if python3 --version > /dev/null; then
+ # shellcheck disable=SC2086
+ python3 bluval/blucon.py $options "$blueprint_name"
+else
+ # shellcheck disable=SC2086
+ VALIDATION_DIR="$WORKSPACE" RESULTS_DIR="$WORKSPACE/results" \
+ bluval/blucon.sh $options "$blueprint_name"
+fi
+
+# even if the script fails we need to change the owner of results
+# shellcheck disable=SC2181
+if [ $? -ne 0 ]; then
+ change_res_owner
+ error "Bluval validation FAIL "
+fi
+set -e
+
+change_res_owner
+if has_substring "$NODE_NAME" "snd-"
+then
+ echo "In sandbox the logs are not pushed"
+else
+ TIMESTAMP=$(date +'%Y%m%d-%H%M%S')
+ NEXUS_URL=https://nexus.akraino.org/
+ NEXUS_PATH="${LAB_SILO}/bluval_results/${blueprint_name}/${VERSION}/${TIMESTAMP}"
+ zip -r results.zip ./results
+ lftools deploy nexus-zip "$NEXUS_URL" logs "$NEXUS_PATH" results.zip
+ rm results.zip
+fi
+
+rm -f ~/.netrc