From 364fb0217733c26510078134e6c1ada4d5a53497 Mon Sep 17 00:00:00 2001 From: Tudor Golubenco Date: Thu, 13 Aug 2015 10:20:07 +0200 Subject: [PATCH] Use full path for gotestcover. Needed to keep Jenkins happy. #200 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99ba0e183a28..8b9f995be614 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ testlong: cover: # gotestcover is needed to fetch coverage for multiple packages go get github.com/pierrre/gotestcover - GOPATH=$(shell $(GODEP) path):$(GOPATH) gotestcover -coverprofile=profile.cov -covermode=count github.com/elastic/packetbeat/... + GOPATH=$(shell $(GODEP) path):$(GOPATH) $(GOPATH)/bin/gotestcover -coverprofile=profile.cov -covermode=count github.com/elastic/packetbeat/... mkdir -p cover $(GODEP) go tool cover -html=profile.cov -o cover/coverage.html