Add changelog entry

[ci skip]
This commit is contained in:
Z.J. van de Weg 2017-03-06 09:31:37 +01:00
parent 9e942b5972
commit e25bb81be2
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
---
title: Rename builds to job for the v4 API
merge_request: 9463
author:

View File

@ -634,7 +634,7 @@ module API
expose :id, :status, :stage, :name, :ref, :tag, :coverage
expose :created_at, :started_at, :finished_at
expose :user, with: User
expose :artifacts_file, using: JobArtifactFile, if: -> (build, opts) { build.artifacts? }
expose :artifacts_file, using: JobArtifactFile, if: -> (job, opts) { job.artifacts? }
expose :commit, with: RepoCommit
expose :runner, with: Runner
expose :pipeline, with: PipelineBasic