diff --git a/Jenkinsfile b/Jenkinsfile index f0c044c7b..2327639a1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ pipeline { echo 'Testing ...' sh 'env' sh 'go env' - sh 'go work use .' //https://github.com/golangci/golangci-lint/issues/2654 + sh 'go work init . ;go work use .' //https://github.com/golangci/golangci-lint/issues/2654 sh '/usr/local/go/bin/go test -p 1 -v ./...' //sh 'make test' }