X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fnsm%2Fscripts%2Fstatic-analysis.sh;h=57a6861363b67272be3af28d1ef29a7cc67b18cf;hb=6820e4bbd01b73801867308a41695545f7465f00;hp=16274a112c5e2aa44d5099d6c70c2b3ec5ae6992;hpb=a0100e7b6aeb0ac201a24214a4459922338f0de5;p=infra%2Fcicd.git diff --git a/jjb/nsm/scripts/static-analysis.sh b/jjb/nsm/scripts/static-analysis.sh index 16274a11..57a68613 100755 --- a/jjb/nsm/scripts/static-analysis.sh +++ b/jjb/nsm/scripts/static-analysis.sh @@ -22,8 +22,11 @@ set -o errexit set -o pipefail set -o nounset +# source .profile +source "$HOME/.profile" + # navigate to WORKSPACE which is the root of the Git clone -cd $WORKSPACE +cd "$WORKSPACE" # git show for information purposes echo "--------------------------------------------"