From 14e7f9ea45186aabe8d65bab540c80e8160b1079 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Mon, 17 Oct 2022 13:29:10 -0400 Subject: [PATCH] GOPATH only env var --- Jenkinsfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4e18d9777..f54dca5e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,8 +28,8 @@ pipeline { //GOPATH = "/go" GOPATH = "/tmp/go" //GOMODCACHE = "/go/pkg/mod" - GOCACHE = "${WORKSPACE}/.cache/go-build" - GOENV = "${WORKSPACE}/.config/go/env" + //GOCACHE = "${WORKSPACE}/.cache/go-build" + //GOENV = "${WORKSPACE}/.config/go/env" //GOMODCACHE = "/tmp/go/pkg/mod" //GOMOD="/dev/null" //GOFLAGS="" @@ -39,10 +39,7 @@ pipeline { echo 'Testing ...' sh 'env' sh 'go env' - //sh '/usr/local/go/bin/go test -p 1 -v ./...' - sh 'cwd' - sh 'which go' sh 'make test' } }