Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
SMO-TEIV: Add jenkins jobs (maven, docker, sonar)
[ci-management.git]
/
jjb
/
ric-plt-sdlgo
/
prescan-sdlgo-go-ubuntu.sh
diff --git
a/jjb/ric-plt-sdlgo/prescan-sdlgo-go-ubuntu.sh
b/jjb/ric-plt-sdlgo/prescan-sdlgo-go-ubuntu.sh
index
18d4d54
..
fab3f08
100644
(file)
--- 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
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
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
then
tag=$(grep "tag:" container-tag.yaml | awk '{print $2}')
else
+ # shellcheck disable=SC2034
tag="no-tag-found"
fi
tag="no-tag-found"
fi
+# shellcheck disable=SC2034
hash=$(git rev-parse --short HEAD || true)
# Build
hash=$(git rev-parse --short HEAD || true)
# Build