Commit 3b7e384a authored by David Hrbáč's avatar David Hrbáč

Refactored 404 CI test

parent e182819a
Pipeline #5946 passed with stages
in 1 minute and 29 seconds
......@@ -47,7 +47,7 @@ ext_links:
before_script:
- wget -V
- echo https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/
- wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/
- wget --spider -e robots=off -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ || true
#- wget --spider -e robots=off -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/
script:
- cat wget.log | awk '/^Found [0-9]+ broken links.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment