X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fric-plt-sdlgo%2Fprescan-sdlgo-go-ubuntu.sh;h=fab3f08d5bc0f042c8abb0059422753526d9175e;hb=439502c44e9eaa7ef2436564f734d5d760ab99d1;hp=18d4d547cd6376d575a0f6eec4708c6fd0063af2;hpb=1688ecd7ba8a8d8632e202f4c4f25736089e827d;p=ci-management.git diff --git a/jjb/ric-plt-sdlgo/prescan-sdlgo-go-ubuntu.sh b/jjb/ric-plt-sdlgo/prescan-sdlgo-go-ubuntu.sh index 18d4d547..fab3f08d 100644 --- a/jjb/ric-plt-sdlgo/prescan-sdlgo-go-ubuntu.sh +++ b/jjb/ric-plt-sdlgo/prescan-sdlgo-go-ubuntu.sh @@ -44,6 +44,7 @@ export PATH=$GOPATH/bin:$PATH export CFG_FILE=../config/config-file.json export RMR_SEED_RT=../config/uta_rtg.rt +# shellcheck disable=SC2034 GO111MODULE=on GO_ENABLED=0 GOOS=linux # setup version tag @@ -51,9 +52,11 @@ if [ -f container-tag.yaml ] then tag=$(grep "tag:" container-tag.yaml | awk '{print $2}') else + # shellcheck disable=SC2034 tag="no-tag-found" fi +# shellcheck disable=SC2034 hash=$(git rev-parse --short HEAD || true) # Build