I have created a new GitLab CICD pipeline with a set of Ruby rspec tests running, and integrated the RSpec JUnit Formatter rspec_junit_formatter gem. Via the GitLab MR, the rspec tests run (some pass, some fail), and a Summary report is generated in the Pipeline, with the job “rspec” listed, and the corresponding number of tests, failures, etc.
The issue is, when I click on the rspec “job” listed in the Summary, after running the pipeline, it states: " Job artifacts are expired". I know that the artifacts are being generated, because I can download the zipped rpsec.XML file in the Jobs tab.
artifacts: when: always paths: - rspec.xml expire_in: 1 week reports: junit: rspec.xml
What could be the cause of this?