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
|
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:
|
before_script:
|
||||||
- vcs import < instrumentation.repos
|
- vcs import < instrumentation.repos
|
||||||
- rosdep install --from-paths . -i . -i /root/ws --rosdistro dashing -y
|
- rosdep install --from-paths . -i . -i /root/ws --rosdistro dashing -y
|
||||||
|
@ -17,6 +28,7 @@ build_enabled:
|
||||||
- . install/local_setup.sh
|
- . install/local_setup.sh
|
||||||
- colcon test --packages-select $PACKAGES_LIST
|
- colcon test --packages-select $PACKAGES_LIST
|
||||||
- colcon test-result
|
- colcon test-result
|
||||||
|
<<: *global_artifacts
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
|
@ -25,13 +37,4 @@ build:
|
||||||
- . install/local_setup.sh
|
- . install/local_setup.sh
|
||||||
- colcon test --packages-select $PACKAGES_LIST
|
- colcon test --packages-select $PACKAGES_LIST
|
||||||
- colcon test-result
|
- colcon test-result
|
||||||
|
<<: *global_artifacts
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- install
|
|
||||||
- build/*/test_results/*/*.xunit.xml
|
|
||||||
- build/*/pytest.xml
|
|
||||||
reports:
|
|
||||||
junit:
|
|
||||||
- build/*/test_results/*/*.xunit.xml
|
|
||||||
- build/*/pytest.xml
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue