jjb: babeltrace: lint: print shellcheck version
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 3 Oct 2024 15:01:03 +0000 (11:01 -0400)
committerKienan Stewart <kstewart@efficios.com>
Fri, 4 Oct 2024 12:30:43 +0000 (08:30 -0400)
 - 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>
jobs/babeltrace.yaml
scripts/babeltrace/lint.sh

index 802330ebe243851bbcbf46109daf474ead30515f..820dac5f64ae41a3bf6ef852819de2c00a77860a 100644 (file)
 
     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
index 5581c35fd0b1fb76a3fcc0be466071197ab0ce4f..8f6fae6a24d466bf8e6fd2927e4afeaaea31c106 100755 (executable)
@@ -44,6 +44,8 @@ else
     pip install black flake8 isort
 fi
 
+print_tooling || true
+
 exit_code=0
 
 cd "$SRCDIR"
This page took 0.024193 seconds and 4 git commands to generate.