- Make `print_tooling()` print the shellcheck version, if shellcheck is
present
- Source `scripts/common/print.sh` in the babeltrace lint jobs
- Call `print_tooling` in the babeltrace lint jobs
Change-Id: Ie40aaca4a060a077d1be49b18f6d9f5edcf80749
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
builders:
- shell:
- !include-raw-escape: scripts/babeltrace/lint.sh
+ !include-raw-escape:
+ - scripts/common/print.sh
+ - scripts/babeltrace/lint.sh
properties:
- inject:
builders:
- shell:
- !include-raw-escape: scripts/babeltrace/lint.sh
+ !include-raw-escape:
+ - scripts/common/print.sh
+ - scripts/babeltrace/lint.sh
publishers:
- workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
pip install black flake8 isort
fi
+print_tooling || true
+
exit_code=0
cd "$SRCDIR"