From 1887231aadb36fe01f7a525368084162a44b115b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20D=C3=ADaz?= Date: Thu, 14 Mar 2019 11:42:48 +0100 Subject: [PATCH] add tee to show construction logs on pipeline console --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 42fa80ab5..605df7444 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -56,7 +56,8 @@ steps: - script: | go version go mod download - go test -v -coverprofile=coverage.txt -covermode=count ./... 2>&1 | go-junit-report > report.xml + go test -v -coverprofile=coverage.txt -covermode=count ./... 2>&1 | tee coverage.out + cat coverage.out | go-junit-report > report.xml go vet -composites=false ./... gocov convert coverage.txt > coverage.json gocov-xml < coverage.json > coverage.xml