Skip to content

Commit

Permalink
log wget output
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Oct 16, 2024
1 parent 4840ccd commit d7623ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ commands:
cd <<parameters.app_root>>
unset RAILS_ENV # avoid doing everything on the test environment
bin/rails server -p 3000 &
wget --output-document - --tries=30 --retry-connrefused "http://localhost:3000<<parameters.path>>" | grep "<<parameters.expected_text>>"
wget --no-verbose --output-document output.html --tries=30 --retry-connrefused "http://localhost:3000<<parameters.path>>"
cat output.html
grep "<<parameters.expected_text>>" output.html
echo "Exited with $?"
kill $(cat "tmp/pids/server.pid")
Expand Down

0 comments on commit d7623ea

Please sign in to comment.