Skip to content

Commit

Permalink
display output of apollo-integration task (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
marwanad authored Apr 21, 2017
1 parent 367104e commit 612901d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .buildscript/integration_tests_composite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ cp gradle/composite/apollo-integration-settings.gradle apollo-integration/settin
cp gradle/composite/root-settings.gradle settings.gradle

echo "Running integration tests..."
if ./gradlew -p apollo-integration clean build | grep -q 'BUILD FAILED'; then
integrationTestOutput=$(./gradlew -p apollo-integration clean build)
echo "${integrationTestOutput}"

if [[ $integrationTestOutput == *"BUILD FAILED"* ]]; then
success=false
fi

Expand Down

0 comments on commit 612901d

Please sign in to comment.