More changes for pipeline

This commit is contained in:
Kieron Morris 2021-06-26 15:17:40 +01:00
parent ab84c516e2
commit 05eab9976b
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
.after_script: .after_script:
script: script:
- chmod +x ./compile_check.sh - chmod +x ./compile_check.sh
- ./compile_check.sh "$CI_JOB_STATUS" - ./compile_check.sh $CI_JOB_STATUS
artifacts: artifacts:
paths: paths:
- release/*.svg - release/*.svg
@ -72,7 +72,7 @@ finish:
stage: finish stage: finish
script: script:
- chmod +x ./compile_finish.sh - chmod +x ./compile_finish.sh
- ./compile_finish.sh "$CI_JOB_STATUS" - ./compile_finish.sh $CI_JOB_STATUS
artifacts: artifacts:
paths: paths:
- release/*.svg - release/*.svg

View File

@ -2,6 +2,7 @@
echo " " echo " "
echo "=======================" echo "======================="
echo " " echo " "
echo $1
if [ "$1" != "success" ] if [ "$1" != "success" ]
then then
echo "Errors Occurred, please review." echo "Errors Occurred, please review."