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

Commit 037ed7a

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

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
@@ -56,9 +56,9 @@ pipeline {
5656
dir('src/github.com/docker/lunchbox') {
5757
checkout scm
5858
sh 'make ci-coverage'
59-
archiveArtifacts 'cov/all.out'
60-
archiveArtifacts 'cov/coverage.html'
61-
sh 'curl -s https://codecov.io/bash | bash -s - -f cov/all.out -K'
59+
archiveArtifacts '_build/ci-cov/all.out'
60+
archiveArtifacts '_build/ci-cov/coverage.html'
61+
sh 'curl -s https://codecov.io/bash | bash -s - -f _build/ci-cov/all.out -K'
6262
}
6363
}
6464
}

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)