circleci: store build outputs as artifacts (#4685)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2018-10-02 10:21:47 +02:00 committed by Ben Kochie
parent f2d43af820
commit f0ba860bdb
1 changed files with 10 additions and 1 deletions

View File

@ -14,7 +14,13 @@ jobs:
- checkout
- run: make promu
- run: make check_license style unused staticcheck build
- run: rm -v prometheus
- store_artifacts:
path: prometheus
destination: /build/prometheus
- store_artifacts:
path: promtool
destination: /build/promtool
- run: rm -v prometheus promtool
build:
machine: true
@ -28,6 +34,9 @@ jobs:
root: .
paths:
- .build
- store_artifacts:
path: .build
destination: /build
docker_hub_master:
docker: