Skip to content
Snippets Groups Projects
Commit 340ecd43 authored by Jonathan Smith's avatar Jonathan Smith Committed by Fran Garcia-Linares
Browse files

Issue #3485285 by lavanyatalwar, jonathan1055, fjgarlin: Give better log infomation in Pages job

parent b5b90842
No related branches found
No related tags found
1 merge request!283#3485285 Add page info to log
Pipeline #335094 passed
...@@ -473,6 +473,7 @@ pages: ...@@ -473,6 +473,7 @@ pages:
script: script:
- pip install mkdocs-material - pip install mkdocs-material
- mkdocs build --site-dir public - mkdocs build --site-dir public
- printf "$DIVIDER\n* The documentation will be published to the URL $CI_PAGES_URL in the 'pages:deploy' job.$DIVIDER\n"
artifacts: artifacts:
paths: paths:
- public - public
...@@ -1207,8 +1208,11 @@ environment check: ...@@ -1207,8 +1208,11 @@ environment check:
- if: $_CONFIG_DOCKERHUB_ROOT == null - if: $_CONFIG_DOCKERHUB_ROOT == null
script: script:
- | - |
DIVIDER="*********************************************************************************" # The $DIVIDER variable will also be empty so we do not use it here.
printf "$DIVIDER\n* Critical variables are missing and the composer job will fail.\n* This can be caused by a 'variables:' line with no variables defined after it.\n$DIVIDER\n" echo "*********************************************************************************"
echo "* Critical variables are missing and the composer job(s) will fail. *"
echo "* This can be caused by a 'variables:' line with no variables defined after it. *"
echo "*********************************************************************************"
exit 1 exit 1
################ ################
......
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