Skip to content
Snippets Groups Projects
Commit 8c6857e3 authored by Gauthier HEISS's avatar Gauthier HEISS
Browse files

Fixing scrorer path

parent 85dc9013
No related branches found
No related tags found
No related merge requests found
Pipeline #40996 failed with stage
in 37 seconds
......@@ -5,9 +5,9 @@ bashlint:
- mkdir -p public/badges public/lint
- echo undefined > public/badges/$CI_JOB_NAME.score
- pip3 install anybadge
- git clone https://gitlab.esiea.fr/gauthier.heiss/bash-file-scorer.git /opt/bash-file-scorer
- git clone https://gitlab.esiea.fr/gauthier.heiss/bash-file-scorer.git /opt/bash-file-score
script:
- /opt/bash-file-scorer/scorer.sh | tee public/lint/lint.txt
- /opt/bash-file-scorer/score.sh | tee public/lint/lint.txt
- tail -n 1 public/lint/lint.txt > public/badges/$CI_JOB_NAME.score
after_script:
- anybadge --overwrite --label $CI_JOB_NAME --value=$(cat public/badges/$CI_JOB_NAME.score) --file=public/badges/$CI_JOB_NAME.svg 4=red 6=orange 8=yellow 10=green
......
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