Commit a4bf4960df35ba43f9a05fd389cbd75fb3d124be
1 parent
9977a79e
Use env var to specify coverage folder.
Showing
1 changed file
with
9 additions
and
4 deletions
... | ... | @@ -11,17 +11,22 @@ build: |
11 | 11 | stage: build |
12 | 12 | script: |
13 | 13 | - make |
14 | - - set | |
15 | 14 | |
16 | -.test: | |
15 | +test: | |
17 | 16 | stage: test |
18 | 17 | script: |
19 | 18 | - make coverage-html |
20 | 19 | - ssh ci_upload@192.168.20.60 install -d trbase |
21 | - - rsync -vaurl --delete tests/coverage ci_upload@192.168.20.60:~/trbase/ | |
20 | + - > | |
21 | + rsync -vaurl --delete tests/coverage | |
22 | + ci_upload@192.168.20.60:~/trbase/coverage_${CI_BUILD_ID} | |
23 | + - > | |
24 | + ssh ci_upload@192.168.20.60 | |
25 | + ln -s trbase/coverage_${CI_BUILD_ID} coverage_latest | |
22 | 26 | |
23 | -.dist: | |
27 | +dist: | |
24 | 28 | stage: deploy |
29 | + only: tags | |
25 | 30 | script: |
26 | 31 | - make dist |
27 | 32 | - ssh ci_upload@192.168.20.60 install -d trbase/artifacts | ... | ... |
Please
register
or
login
to post a comment