summaryrefslogtreecommitdiff
path: root/app/models/ci/build.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-29 15:07:02 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-29 15:07:02 +0000
commita466e9450d5949aa762913729918db02b5d27761 (patch)
tree8edfaac5434413a7fe160a6e50dfaee8ecf0f151 /app/models/ci/build.rb
parentd1d4dfb74a55a1b56b9451b2a844c57e05c9557f (diff)
downloadgitlab-ce-a466e9450d5949aa762913729918db02b5d27761.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r--app/models/ci/build.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 12c9f45e4c4..a60813a36a7 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -865,6 +865,10 @@ module Ci
Gitlab::Ci::Build::Step.from_after_script(self)].compact
end
+ def runtime_hooks
+ Gitlab::Ci::Build::Hook.from_hooks(self)
+ end
+
def image
Gitlab::Ci::Build::Image.from_image(self)
end