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

Commit 9aad848

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

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
@@ -60,9 +60,9 @@ pipeline {
6060
dir('src/github.com/docker/lunchbox') {
6161
checkout scm
6262
sh 'make ci-coverage'
63-
archiveArtifacts 'cov/all.out'
64-
archiveArtifacts 'cov/coverage.html'
65-
sh 'curl -s https://codecov.io/bash | bash -s - -f cov/all.out -K'
63+
archiveArtifacts '_build/ci-cov/all.out'
64+
archiveArtifacts '_build/ci-cov/coverage.html'
65+
sh 'curl -s https://codecov.io/bash | bash -s - -f _build/ci-cov/all.out -K'
6666
}
6767
}
6868
}

Makefile

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

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

0 commit comments

Comments
 (0)