[Epic] Remove usage of "build"
Description
Meta issue to outline how we can (slowly) kill our (mis)usage of the term "Build".
Background
We use the term inconsistently with other vendors, and this causes unnecessary confusion. Travis and CircleCI, for example, call an entire pipeline run a single "build" whereas we call each job in the pipeline a "build". Furthermore, "builds" is an old term from back when CI was mainly for compiled code where the build was the most important part. With scripted languages and TDD, "tests" are a much more important part of CI. Lastly, we're moving beyond CI and into CD, where the trend seems to be called "Pipelines" (see Atlassian's Bitbucket and Jenkins 2.0 pipelines).
Proposal
- Add Pipeline views anywhere we have Build views
- In Pipeline context, use the term Jobs to refer to each individual run (#25232 (closed))
- Update documentation to refer only to Pipelines and Jobs (https://gitlab.com/gitlab-org/gitlab-ce/issues/27805)
- Add APIs for pipelines
- Add APIs for Jobs (while leaving Builds intact)
- Deprecate Builds APIs
- Rename Builds to Jobs controller (https://gitlab.com/gitlab-org/gitlab-ce/issues/30699)
Additionally, the Builds APIs will be removed when API v3 is removed, but won't be tracked here.