Skip to content
Snippets Groups Projects
Commit d7804f8d authored by Corné Lukken's avatar Corné Lukken
Browse files

Fix artifact paths for top level ci

parent a1272b6c
No related branches found
No related tags found
1 merge request!8Convert cookiecutter
Checking pipeline status
...@@ -19,3 +19,35 @@ sast: ...@@ -19,3 +19,35 @@ sast:
before_script: before_script:
- python --version # For debugging - python --version # For debugging
# Override format artifact paths
format:
artifacts:
when: on_failure
paths:
- my_awesome_app/format.patch
# Override test artifact paths
test:
artifacts:
paths:
# This will give a warning which is ok
- my_awesome_app/build/test/unittests.xml
- my_awesome_app/build/coverage.tar.gz
reports:
junit: my_awesome_app/build/test/unittests.xml
coverage_report:
coverage_format: cobertura
path: my_awesome_app/build/coverage.xml
# Override abi-test artifact paths
abi-test:
artifacts:
paths:
- my_awesome_app/compat_reports/hello/${APPLICATION_LAST_RELEASE}_to_master
# Override pages artifact paths
pages:
artifacts:
expire_in: 1w
paths:
- my_awesome_app/build/doc/*
...@@ -129,12 +129,17 @@ pages: ...@@ -129,12 +129,17 @@ pages:
needs: ["trigger_prepare"] needs: ["trigger_prepare"]
script: script:
# Generate documentation. # Generate documentation.
- mkdir build
- cd build - cd build
- cmake -DBUILD_DOCUMENTATION=ON -G Ninja .. - cmake -DBUILD_DOCUMENTATION=ON -G Ninja ..
- ninja sphinx - ninja sphinx
# Extract HTML coverage report. # Extract HTML coverage report.
- tar xfz coverage.tar.gz - tar xfz coverage.tar.gz
# TODO: Add an index page with links to the documentation and coverage. # TODO: Add an index page with links to the documentation and coverage.
artifacts:
expire_in: 1w
paths:
- build/doc/*
abi-deploy: abi-deploy:
stage: publish stage: publish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment