Run a manually triggered job a second time, and get a 404 error.
Summary
You can create jobs in .gitlab-ci.yml
which are manually triggered when: manual
and you can run them once, which is fine. It seems in gitlab 8.14.3, when you run the job a second time, you get a 404 error.
Steps to reproduce
On any trivial CI task with when:manual, such as this one provided here as a public gitlab.com project:
https://gitlab.com/warren.postma/demonstration-project/pipelines
-
Click the play button.
-
Click the manual job.
Expected behavior
Should get a nice message saying "We already ran that, do you want to run again", or "You can only run this job once". (Pick one!).
If the job has been triggered via API (via projects//builds//play) an appropriate status code and error message should be returned.
Actual behavior
Get 404 error page. Example above leads to this url: https://gitlab.com/warren.postma/demonstration-project/builds/7096151/play
Relevant logs and/or screenshots
Output of checks
N/A. Occurs on all gitlab instances, public or private.
Results of GitLab application Check
- Probably not applicable, since it reproduces on gitlab.com AND on private gitlabs, and is clearly NOT specific to my specific gitlab instance.
Results of GitLab environment info
- Probably not applicable. Will add relevant logging if I can figure out anything.
Possible fixes
- I didn't see anything related to this in the logs.