Commit graph

13 commits

Author SHA1 Message Date
Kamil Trzciński
40397f3577 Allow to make builds soft-archived.
The soft-archived builds cannot be run after some deadline time.
The intent is to aggressively recycle old builds after sometime.
2018-11-05 15:51:57 +01:00
Shinya Maeda
cb0b16ebf6 Add scheduled flag to job entity 2018-11-02 11:52:34 +00:00
Steve Azzopardi
8f36f1cad2
Send continue parameter on for cancel_path
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21595
`ContinueParams` was introducted in the `Projects::JobController#cancel`
since `continue` parameter is not present for in `cancel_path` for
`Projects::JobController#show.sjon` the user is being redirect to the
pipeline page, where it should be redirected to the current job page
instead.

Add the `continue` parameter as a query string for `cancel_path`.
2018-10-31 16:57:46 +01:00
Shinya Maeda
137f74b563 Add job_entity_spec 2018-10-03 15:17:12 +09:00
Shinya Maeda
7fc74818a3 Add scheduled_actions as an explicit group of actions 2018-10-02 17:08:14 +02:00
Steve Azzopardi
e254da811f Add empty state illustration information in job API 2018-09-11 17:13:24 +00:00
gfyoung
dce26700b2 Enable frozen string in app/serializers/**/*.rb
Partially addresses #47424.
2018-07-23 11:27:39 -07:00
Mayra Cabrera
7a7a4356d1 Moves script_failure conditional over lambda
So the 'failed' message can actually indicate if the build failed or not
2018-05-30 08:18:20 -05:00
Mayra Cabrera
0bc9e0b4fe Removes redundant error message for script failures
Script failure message was redundant so it was removed. Also 'check your
job log' message was removed from all the error messages.

Closes #44271
2018-05-24 15:14:28 -05:00
Mayra Cabrera
93780da67c Resolve "Show failure_reason in jobs view content section" 2018-04-19 07:20:53 +00:00
Filipa Lacerda
572de0c1c2
Adds illustrations for manual actions and non triggered jobs 2017-12-19 11:04:04 +00:00
Brian Neel
9770c57fab Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
Kamil Trzcinski
d03e687882 Rename BuildEntity to JobEntity 2017-06-13 09:53:54 +02:00
Renamed from app/serializers/build_entity.rb (Browse further)