Skip to content

Commit

Permalink
Update veracode-scan.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
asaccool authored Jan 16, 2023
1 parent 011d100 commit 8f58eb5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/veracode-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ then
exit 1
fi

if [ -z "$VERACODE_API_ID" ] || [ -z $VERACODE_API_KEY ];
then
echo "VERACODE_API_ID or VERACODE_API_KEY env vars are not set."
echo "VERACODE_API_ID=$VERACODE_API_ID"
echo "VERACODE_API_KEY=$VERACODE_API_KEY"
echo "Both env vars are mandatory!"
exit 1
fi

if [ -d ~/Downloads/pipeline-scan-LATEST ];
then
echo "Veracode pipeline scan tool available, skipping the installation process."
Expand Down

0 comments on commit 8f58eb5

Please sign in to comment.