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
def callout_message
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,
......@@ -138,7 +138,7 @@ class BuildDetailsEntity < JobEntity
end
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 }
end
......
......@@ -11819,6 +11819,9 @@ msgstr ""
msgid "Please provide a valid email address."
msgstr ""
msgid "Please refer to <a href=\"%{docs_url}\">%{docs_url}</a>"
msgstr ""
msgid "Please retype the email address."
msgstr ""
......@@ -16542,6 +16545,9 @@ msgstr ""
msgid "This issue is locked."
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"
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