From b6b4f20e5b6afec9d43863ceb7b2dca9fe6dc677 Mon Sep 17 00:00:00 2001 From: Jens Georg <jens.georg@desy.de> Date: Mon, 19 Apr 2021 08:53:41 +0200 Subject: [PATCH] cppcheck: Fix stash syntax --- vars/helper.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/helper.groovy b/vars/helper.groovy index e207113..86098c0 100644 --- a/vars/helper.groovy +++ b/vars/helper.groovy @@ -261,7 +261,7 @@ EOF // Copy the include database from Debug build for running cppcheck afterwards if (buildType == "Debug") { - stash includes: "/scratch/*/compile_commands.json" name: "compile_commands.json" + stash includes: "/scratch/build-${label}-${buildType}/compile_commands.json", name: "compile_commands.json" } } -- GitLab