Skip to content
Snippets Groups Projects
Commit 0d34aaca authored by Stanislav Rosicky's avatar Stanislav Rosicky
Browse files
parent b1b1cbf7
No related branches found
No related tags found
1 merge request!439CI_BUILD_REF_NAME was removed in Gitlab 16.0
Pipeline #33882 passed with warnings
...@@ -55,7 +55,7 @@ ext_links: ...@@ -55,7 +55,7 @@ ext_links:
before_script: before_script:
- echo "192.168.101.10 docs.it4i.cz" >> /etc/hosts - echo "192.168.101.10 docs.it4i.cz" >> /etc/hosts
- wget -V - wget -V
- echo https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ - echo https://docs.it4i.cz/devel/$CI_COMMIT_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 -o wget.log -r -p https://docs.it4i.cz/devel/$CI_BUILD_REF_NAME/ || true
script: script:
- cat wget.log | awk '/^Found [0-9]+ broken link[s]?.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }' - cat wget.log | awk '/^Found [0-9]+ broken link[s]?.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment