Skip to content

Instantly share code, notes, and snippets.

@sheppduck
Created March 7, 2018 21:09
Show Gist options
  • Save sheppduck/fa6e7c6cfcec04f17cd37bd146e22fb9 to your computer and use it in GitHub Desktop.
Save sheppduck/fa6e7c6cfcec04f17cd37bd146e22fb9 to your computer and use it in GitHub Desktop.
if [[ -z $a_state ]] ; then
echo "[ERROR]: [tstAnnotate] POD Annotations not found on $my_pod!!"
echo "Retrying... $retry"
(( retry ++ ))
sleep 3
elif [[ -z $a_state ]] ; then
echo " [ERROR]: [tstAnnotate] POD Annotations not found, exiting!"
exit 88;
else
echo "BlackDuck OpsSight Annoations found on $my_pod! TEST PASS"
echo "Annotations: $a_state"
break
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment