File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
import groovy.transform.Field
2
2
3
3
@Field
4
- def shOutput = " "
5
4
def buildxPushTags = " "
6
5
7
6
def getVersion () {
@@ -85,10 +84,8 @@ pipeline {
85
84
}
86
85
post {
87
86
success {
87
+ archiveArtifacts allowEmptyArchive : false , artifacts : ' coverage.html'
88
88
archiveArtifacts allowEmptyArchive : false , artifacts : ' bin/*'
89
- script {
90
- shOutput = " "
91
- }
92
89
}
93
90
}
94
91
}
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ if [ "${1:-}" = "--inside-docker" ]; then
46
46
go test -json -cover -coverprofile=" $DIR /../../coverage.out" ./internal/... | tparse
47
47
go tool cover -html=" $DIR /../../coverage.out" -o " $DIR /../../coverage.html"
48
48
rm -f " $DIR /../../coverage.out"
49
+ chown 1000:1000 " $DIR /../../coverage.html"
49
50
golangci-lint -v run ./...
50
51
else
51
52
# run this script from within docker
You can’t perform that action at this time.
0 commit comments