ci: add test logging

This commit is contained in:
SoXX 2024-07-19 11:32:12 +02:00
parent 8736a2ef5e
commit e3b78ebaf3

2
Jenkinsfile vendored
View File

@ -16,7 +16,7 @@ pipeline {
docker { image 'golang:1.22-alpine' } docker { image 'golang:1.22-alpine' }
} }
steps { steps {
sh 'go test -v ./... -json -coverprofile=coverage.out > test-report.out' sh 'go test -v ./... -json -coverprofile=coverage.out | tee test-report.out'
} }
} }
stage('SonarQube Analysis') { stage('SonarQube Analysis') {