Skip to content
Snippets Groups Projects
Commit 9270795b authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Handle empty junit files

parent 685491f2
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,10 @@ spack:install_compilers: ...@@ -70,6 +70,10 @@ spack:install_compilers:
script: script:
- ci/install_compilers.sh - ci/install_compilers.sh
- spack/bin/spack -e stacks/${stack} config blame compilers - spack/bin/spack -e stacks/${stack} config blame compilers
after_script:
- if [ ! -e spack-install.xml ]; then
echo "{}" > spack-install.xml
fi
artifacts: artifacts:
reports: reports:
junit: spack-install.xml junit: spack-install.xml
...@@ -103,6 +107,10 @@ spack:install: ...@@ -103,6 +107,10 @@ spack:install:
--only-concrete --only-concrete
--fail-fast --fail-fast
--show-log-on-error --show-log-on-error
after_script:
- if [ ! -e spack-install.xml ]; then
echo "{}" > spack-install.xml
fi
needs: needs:
- job: spack:concretize - job: spack:concretize
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment