Commit 2274ee25 authored by Erick Bajao's avatar Erick Bajao

Update callout message to be clearer about depended jobs

parent dcc3c02b
...@@ -125,7 +125,7 @@ class BuildDetailsEntity < JobEntity ...@@ -125,7 +125,7 @@ class BuildDetailsEntity < JobEntity
def callout_message def callout_message
return super unless build.failure_reason.to_sym == :missing_dependency_failure return super unless build.failure_reason.to_sym == :missing_dependency_failure
docs_url = "https://docs.gitlab.com/ce/ci/yaml/README.html#when-a-dependent-job-will-fail" docs_url = "https://docs.gitlab.com/ce/ci/yaml/README.html#dependencies"
[ [
failure_message.html_safe, failure_message.html_safe,
...@@ -138,7 +138,7 @@ class BuildDetailsEntity < JobEntity ...@@ -138,7 +138,7 @@ class BuildDetailsEntity < JobEntity
end end
def failure_message def failure_message
_("There were missing dependencies from the following job(s): %{invalid_dependencies}") % _("This job depends on other jobs with expired/erased artifacts: %{invalid_dependencies}") %
{ invalid_dependencies: invalid_dependencies } { invalid_dependencies: invalid_dependencies }
end end
......
...@@ -11819,6 +11819,9 @@ msgstr "" ...@@ -11819,6 +11819,9 @@ msgstr ""
msgid "Please provide a valid email address." msgid "Please provide a valid email address."
msgstr "" msgstr ""
msgid "Please refer to <a href=\"%{docs_url}\">%{docs_url}</a>"
msgstr ""
msgid "Please retype the email address." msgid "Please retype the email address."
msgstr "" msgstr ""
...@@ -16542,6 +16545,9 @@ msgstr "" ...@@ -16542,6 +16545,9 @@ msgstr ""
msgid "This issue is locked." msgid "This issue is locked."
msgstr "" msgstr ""
msgid "This job depends on other jobs with expired/erased artifacts: %{invalid_dependencies}"
msgstr ""
msgid "This job depends on upstream jobs that need to succeed in order for this job to be triggered" msgid "This job depends on upstream jobs that need to succeed in order for this job to be triggered"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment