From ebbc70b409f820024c3ada9f7540c6244d523176 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 18 Jan 2019 15:10:03 +0100 Subject: [PATCH] fix tool path --- azure-pipelines.template.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.template.yml b/azure-pipelines.template.yml index 130c6365..9dcd56eb 100644 --- a/azure-pipelines.template.yml +++ b/azure-pipelines.template.yml @@ -7,6 +7,7 @@ jobs: variables: GOPATH: '$(system.defaultWorkingDirectory)' + GOBIN: '$(GOPATH)/bin' steps: - checkout: none @@ -21,7 +22,7 @@ jobs: workingDirectory: '$(system.defaultWorkingDirectory)' displayName: 'Fetch sources' - script: | - go test -p 1 -timeout 30m -v v2ray.com/core/... 2>&1 | go-junit-report > report.xml + go test -p 1 -timeout 30m -v v2ray.com/core/... 2>&1 | $(GOBIN)/go-junit-report > report.xml workingDirectory: '$(system.defaultWorkingDirectory)' displayName: 'Test' - task: PublishTestResults@2