Commit 9ee6d492 authored by Thomas Boni's avatar Thomas Boni
Browse files

Merge branch 'fix/megalinter-wrong-return-code' into 'latest'

Set correct return code for MegaLinter job

See merge request r2devops/hub!303
parents b0e710ef aedba0a1
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -40,7 +40,10 @@ mega_linter:
    -   done
    - fi

    - '[ FAILED="true" ] && exit 1'
    - if [ "$FAILED" = true ]; then
    -   exit 1
    - fi
    - exit 0
  variables:
    # All available variables are described in documentation
    # https://nvuillam.github.io/mega-linter/configuration/
+1 −0
Original line number Diff line number Diff line
* Set correct return value for GitLab CI/CD pipeline if job succeeds