Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit dfa4d2e

Browse files
committed
Keep produced artifacts under _build/ in ci-coverage
Signed-off-by: Joffrey F <[email protected]>
1 parent e7a4b57 commit dfa4d2e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ pipeline {
5454
dir('src/github.com/docker/lunchbox') {
5555
checkout scm
5656
sh 'make ci-coverage'
57-
archiveArtifacts 'cov/all.out'
58-
archiveArtifacts 'cov/coverage.html'
59-
sh 'curl -s https://codecov.io/bash | bash -s - -f cov/all.out -K'
57+
archiveArtifacts '_build/ci-cov/all.out'
58+
archiveArtifacts '_build/ci-cov/coverage.html'
59+
sh 'curl -s https://codecov.io/bash | bash -s - -f _build/ci-cov/all.out -K'
6060
}
6161
}
6262
}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ ci-test:
115115
ci-coverage:
116116
docker build --target=build -t $(IMAGE_NAME)-cov:$(TAG) $(IMAGE_BUILD_ARGS) .
117117
docker run --label $(COV_LABEL) $(IMAGE_NAME)-cov:$(TAG) make COMMIT=$(TAG) TAG=$(COMMIT) coverage
118-
docker cp $$(docker ps -aql --filter label=$(COV_LABEL)):$(PKG_PATH)/_build/cov/ ./cov
118+
mkdir -p ./_build && docker cp $$(docker ps -aql --filter label=$(COV_LABEL)):$(PKG_PATH)/_build/cov/ ./_build/ci-cov
119119

120120
ci-bin-all:
121121
docker build -t $(IMAGE_NAME)-bin-all:$(TAG) $(IMAGE_BUILD_ARGS) . --target=bin-build

0 commit comments

Comments
 (0)