Method: Gitlab::Client::Jobs#job_artifacts_keep
- Defined in:
- lib/gitlab/client/jobs.rb
#job_artifacts_keep(project_id, job_id) ⇒ Array<Gitlab::ObjectifiedHash>
Keep Artifacts Prevents artifacts from being deleted when expiration is set.
232 233 234 |
# File 'lib/gitlab/client/jobs.rb', line 232 def job_artifacts_keep(project_id, job_id) post("/projects/#{url_encode project_id}/jobs/#{job_id}/artifacts/keep") end |