From 513126c480dc7c36aca17d4bd188776922841205 Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Wed, 27 Jul 2022 11:23:48 +0800 Subject: [PATCH] /var/jenkins_home --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b1083bb..0eea3fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { } steps { sh 'echo go' - sh 'PATH=$PATH:/usr/local/go/bin' + sh 'PATH=$PATH:/var/jenkins_home/go/bin' sh 'echo $PATH' sh 'CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go mod tidy' sh 'CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ipregion main.go'