Skip to content
Snippets Groups Projects
Commit ba3215a4 authored by Vivek Dutta's avatar Vivek Dutta
Browse files

Fix rule syntax

parent 3813551d
No related branches found
No related tags found
1 merge request!27Fix rule syntax
...@@ -15,7 +15,7 @@ run_static_code_analysis: ...@@ -15,7 +15,7 @@ run_static_code_analysis:
script: script:
- "static_code_analysis.sh" - "static_code_analysis.sh"
rules: rules:
- if: ${SOURCE_FOLDER} - if: $SOURCE_FOLDER
when: always when: always
artifacts: artifacts:
when: on_failure when: on_failure
...@@ -32,5 +32,5 @@ run_shell_checks: ...@@ -32,5 +32,5 @@ run_shell_checks:
- echo "Running shellcheck ${SHELLCHECK_OPTIONS} ${SHELL_SRC}" - echo "Running shellcheck ${SHELLCHECK_OPTIONS} ${SHELL_SRC}"
- "shellcheck ${SHELLCHECK_OPTIONS} ${SHELL_SRC}" - "shellcheck ${SHELLCHECK_OPTIONS} ${SHELL_SRC}"
rules: rules:
- if: ${SHELL_SRC} - if: $SHELL_SRC
when: always when: always
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment