From 9c72b4e87b63002de97dbd7ee738f8e834b589fe Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Mon, 10 May 2021 21:52:37 +0200 Subject: [PATCH] nsm: Enable lint for PR verify static analysis job go lint is installed in nsm build server image so this change adds command to run it. [0] Please note that there are failures with lint so merging this without fixing the issues will send failure to PR. [1] Same change is uploaded for Meridio pipelines on EST Jenkins. [2] [0] https://gerrit.nordix.org/c/infra/tools/+/8632 [1] https://pastebin.com/Uv2sk5TD [2] https://gerrit.est.tech/c/aegis/cicd/+/476 Change-Id: I09c7654aa98fd452ecc3205d552bd4c9abf26282 --- jjb/nsm/scripts/static-analysis.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jjb/nsm/scripts/static-analysis.sh b/jjb/nsm/scripts/static-analysis.sh index 779b9b4f..16274a11 100755 --- a/jjb/nsm/scripts/static-analysis.sh +++ b/jjb/nsm/scripts/static-analysis.sh @@ -30,7 +30,11 @@ echo "--------------------------------------------" git show echo "--------------------------------------------" -# command to run static analysis TBD -echo "Hello, World!" +# run lint +echo "Info : Starting lint using make check" +echo "--------------------------------------------" +make check +echo "--------------------------------------------" +echo "Info : Done!" # vim: set ts=2 sw=2 expandtab: -- 2.25.1