Use yaml hidden key for artifacts
This commit is contained in:
parent
169a7ef048
commit
b9d7da53a7
1 changed files with 13 additions and 10 deletions
|
@ -5,6 +5,17 @@ variables:
|
|||
|
||||
image: $base_image_id
|
||||
|
||||
.global_artifacts: &global_artifacts
|
||||
artifacts:
|
||||
paths:
|
||||
- install
|
||||
- build/*/test_results/*/*.xunit.xml
|
||||
- build/*/pytest.xml
|
||||
reports:
|
||||
junit:
|
||||
- build/*/test_results/*/*.xunit.xml
|
||||
- build/*/pytest.xml
|
||||
|
||||
before_script:
|
||||
- vcs import < instrumentation.repos
|
||||
- rosdep install --from-paths . -i . -i /root/ws --rosdistro dashing -y
|
||||
|
@ -17,6 +28,7 @@ build_enabled:
|
|||
- . install/local_setup.sh
|
||||
- colcon test --packages-select $PACKAGES_LIST
|
||||
- colcon test-result
|
||||
<<: *global_artifacts
|
||||
|
||||
build:
|
||||
script:
|
||||
|
@ -25,13 +37,4 @@ build:
|
|||
- . install/local_setup.sh
|
||||
- colcon test --packages-select $PACKAGES_LIST
|
||||
- colcon test-result
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- install
|
||||
- build/*/test_results/*/*.xunit.xml
|
||||
- build/*/pytest.xml
|
||||
reports:
|
||||
junit:
|
||||
- build/*/test_results/*/*.xunit.xml
|
||||
- build/*/pytest.xml
|
||||
<<: *global_artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue