Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions integration/run_its.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,28 @@ fi
echo "- PASSED"
echo

echo 'RUNNING JavaScript CLI integration test for Stack Analysis report summary of snyk provider for Java Maven'

testers/cli/node_modules/.bin/exhort-javascript-api stack scenarios/maven/pom.xml --summary > ./responses/stack-summary.json

if [ "$?" -ne 0 ]; then
echo "- FAILED , return $RC from invocation"
cleanup $RC
fi

RESPONSE_CONTENT=$(jq . ./responses/stack-summary.json)
if [ "$?" -ne 0 ]; then
echo "- FAILED , response is not a valid json"
cleanup $RC
fi
echo
echo $RESPONSE_CONTENT
echo "- PASSED"
echo




echo "RUNNING JavaScript CLI integration test for Stack Analysis report in Json for Java Maven"
testers/cli/node_modules/.bin/exhort-javascript-api stack scenarios/maven/pom.xml > ./responses/stack.json

Expand Down