Skip to content

Commit

Permalink
add tee to show construction logs on pipeline console
Browse files Browse the repository at this point in the history
  • Loading branch information
gdiazlo committed Mar 14, 2019
1 parent 07a50a9 commit 1887231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1887231

Please sign in to comment.