I’m following this API - Jobs API | GitLab - and noticing some strange behaviour.
The scenario is the following:
- I am in the process of revamping my build and release pipeline, therefore, compared to my
masterbranch has completely different job & stage names.
Here is what I’m observing:
- If I use
curlto fetch the following URL (i.e. old job name which is still present in
masterbranch), it works – GET /api/v4/projects/:id/jobs/artifacts/master/download?job=old_job_name
- However, if I try to fetch artifacts from the
revampbranch using the new job names, it always results in a 404 - GET /api/v4/projects/:id/jobs/artifacts/revamp/download?job=new_job_name
Is this expected behaviour? Or is this a bug?
How do I test that my new pipelines are working before I merge them to
master? Kinda stuck here.