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
Fix ORANSC golang jobs
[infra/cicd.git]
/
jjb
/
oransc
/
verify-jobs-go.sh
diff --git
a/jjb/oransc/verify-jobs-go.sh
b/jjb/oransc/verify-jobs-go.sh
index d5f70fc90c28b8a0e86e5cd48ddf1489c7a8a2b0..1cc7ae4498786f8da2e21ac900a396a8bfea6019 100644
(file)
--- a/
jjb/oransc/verify-jobs-go.sh
+++ b/
jjb/oransc/verify-jobs-go.sh
@@
-8,10
+8,10
@@
cd $WORKSPACE
version=$(grep '^go' go.mod | grep -Eo '[0-9]\.[0-9]+')
echo "Download go $version"
version=$(grep '^go' go.mod | grep -Eo '[0-9]\.[0-9]+')
echo "Download go $version"
-curl -L "https://go.dev/dl/go$version.linux-amd64.tar.gz" | tar -C /usr/local -zxf -
+curl -L "https://go.dev/dl/go$version.linux-amd64.tar.gz" |
sudo
tar -C /usr/local -zxf -
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/usr/local/go/bin
-export CGO_ENABLED=0
+export CGO_ENABLED=0
echo "Download project deps"
go mod tidy
echo "Download project deps"
go mod tidy