Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CI verify jobs for oransc golang projects
[infra/cicd.git]
/
jjb
/
nsm
/
scripts
/
static-analysis.sh
diff --git
a/jjb/nsm/scripts/static-analysis.sh
b/jjb/nsm/scripts/static-analysis.sh
index 779b9b4f577d20df813926512164bb7a9864b004..57a6861363b67272be3af28d1ef29a7cc67b18cf 100755
(executable)
--- a/
jjb/nsm/scripts/static-analysis.sh
+++ b/
jjb/nsm/scripts/static-analysis.sh
@@
-22,15
+22,22
@@
set -o errexit
set -o pipefail
set -o nounset
set -o pipefail
set -o nounset
+# source .profile
+source "$HOME/.profile"
+
# navigate to WORKSPACE which is the root of the Git clone
# navigate to WORKSPACE which is the root of the Git clone
-cd
$WORKSPACE
+cd
"$WORKSPACE"
# git show for information purposes
echo "--------------------------------------------"
git show
echo "--------------------------------------------"
# git show for information purposes
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:
# vim: set ts=2 sw=2 expandtab: