correct usage of go2junit
This commit is contained in:
parent
046fb0dc57
commit
0db5412a8f
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -56,8 +56,8 @@ pipeline {
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit 'testout/junit.xml'
|
||||
junit 'testout/integrationtest.xml'
|
||||
junit 'testout/junit/**/*.xml'
|
||||
junit 'testout/integrationtest/**/*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
5
Makefile
5
Makefile
@ -21,12 +21,12 @@ vet: fmt
|
||||
test: build
|
||||
mkdir -p testout
|
||||
go test -count=1 -coverprofile=testout/coverage.out -json ${TESTFLAGS} ./pkg/... ./cmd/... 2>&1 | \
|
||||
go2junit - > testout/junit.xml
|
||||
go2junit testout/junit
|
||||
|
||||
integrationtest: build
|
||||
mkdir -p testout
|
||||
go test -count=1 ${TESTFLAGS} ./integrationtest/... -json 2>&1 | \
|
||||
go2junit - > testout/integrationtest.xml
|
||||
go2junit testout/integrationtest
|
||||
|
||||
build: generate vet
|
||||
mkdir -p bin
|
||||
@ -40,6 +40,7 @@ clean:
|
||||
rm -rf bin
|
||||
rm -rf static/icons
|
||||
rm -f pkg/server/ui/LICENSE*
|
||||
rm -rf testout
|
||||
|
||||
static/icons/.downloaded:
|
||||
./getbootstrapicons.sh
|
||||
|
Loading…
Reference in New Issue
Block a user