ci: add test logging
This commit is contained in:
parent
8736a2ef5e
commit
e3b78ebaf3
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user