diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2018-05-10 12:58:19 +0500 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2018-05-26 10:59:42 +0500 |
commit | 4131a49bb72ab62c9384050d90ec268b4f3d76aa (patch) | |
tree | 7cba0b268543c81acc8a4b91847669f1bdc59870 /lib/api | |
parent | de12348ee8534b2a4310c81898e7151dd7616095 (diff) | |
download | gitlab-ce-4131a49bb72ab62c9384050d90ec268b4f3d76aa.tar.gz |
Expose artifacts_expire_at field for job entity in api
https://gitlab.com/gitlab-org/gitlab-ce/issues/45798
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 174c5af91d5..3e615f7ac05 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -1020,6 +1020,7 @@ module API class Job < JobBasic expose :artifacts_file, using: JobArtifactFile, if: -> (job, opts) { job.artifacts? } expose :runner, with: Runner + expose :artifacts_expire_at end class JobBasicWithProject < JobBasic |