@@ -1209,11 +1209,11 @@
],
"step1" : {
"shortname" : "Generating patch metrics",
- "EXTRACMDS" : ["../../yocto-autobuilder-helper/scripts/run-patchmetrics ../ ../meta/ ${HELPERRESULTSDIR}/../../patchmetrics ."]
+ "EXTRACMDS" : ["../../yocto-autobuilder-helper/scripts/run-patchmetrics ../ ../meta/ ${HELPERRESULTSDIR}/../../patchmetrics . ${HELPERBRANCHNAME}"]
},
"step2" : {
"shortname" : "Running CVE checks",
- "EXTRACMDS" : ["../../yocto-autobuilder-helper/scripts/run-cvecheck ../ ../meta/ ${HELPERRESULTSDIR}/../../patchmetrics ."]
+ "EXTRACMDS" : ["../../yocto-autobuilder-helper/scripts/run-cvecheck ../ ../meta/ ${HELPERRESULTSDIR}/../../patchmetrics . ${HELPERBRANCHNAME}"]
}
},
@@ -6,6 +6,7 @@ PARENTDIR=`realpath $1`
TARGETDIR=`realpath $2`
RESULTSDIR=`realpath -m $3`
BUILDDIR=`realpath $4`
+BRANCH=$5
OURDIR=`dirname $0`
TIMESTAMP=`date +"%s"`
@@ -6,6 +6,7 @@ PARENTDIR=`realpath $1`
TARGETDIR=`realpath $2`
RESULTSDIR=`realpath -m $3`
BUILDDIR=`realpath $4`
+BRANCH=$5
OURDIR=`dirname $0`
TIMESTAMP=`date +"%s"`
To prepapre to run the scripts per branch, pass the branchname to the scripts. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- config.json | 4 ++-- scripts/run-cvecheck | 1 + scripts/run-patchmetrics | 1 + 3 files changed, 4 insertions(+), 2 deletions(-)