Skip to content

Fix commands for jobs and artifacts selection

Alexandr Tanayno requested to merge docs-fix-job-removal-snippet into master

What does this MR do?

The code for selecting job logs and artifacts fails:

irb(main):040:0> builds_with_artifacts =  project.builds.with_existing_job_artifacts
Traceback (most recent call last):
        2: from (irb):40
        1: from app/models/ci/build.rb:98:in `block in <class:Build>'
ArgumentError (wrong number of arguments (given 0, expected 1))

This MR fixes this part, it should have an argument Ci::JobArtifact.trace.

Merge request reports