Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0a7b5db3
Commit
0a7b5db3
authored
Jan 02, 2019
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy-edit cross project pipeline error messages
parent
574373d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ee/app/presenters/ee/commit_status_presenter.rb
ee/app/presenters/ee/commit_status_presenter.rb
+2
-2
ee/lib/ee/gitlab/ci/status/build/failed.rb
ee/lib/ee/gitlab/ci/status/build/failed.rb
+1
-1
ee/spec/models/ci/pipeline_spec.rb
ee/spec/models/ci/pipeline_spec.rb
+1
-1
No files found.
ee/app/presenters/ee/commit_status_presenter.rb
View file @
0a7b5db3
...
...
@@ -6,8 +6,8 @@ module EE
prepended
do
EE_CALLOUT_FAILURE_MESSAGES
=
const_get
(
:CALLOUT_FAILURE_MESSAGES
).
merge
(
protected_environment_failure:
'The environment this job is deploying to is protected. Only users with permission may successfully run this job.'
,
insufficient_bridge_permissions:
'This job could not be executed because of insufficient permissions to create downstream pipeline.'
,
invalid_bridge_trigger:
'This job could not be executed because downstream pipeline trigger definition is
not
valid.'
insufficient_bridge_permissions:
'This job could not be executed because of insufficient permissions to create
a
downstream pipeline.'
,
invalid_bridge_trigger:
'This job could not be executed because downstream pipeline trigger definition is
in
valid.'
).
freeze
EE
::
CommitStatusPresenter
.
private_constant
:EE_CALLOUT_FAILURE_MESSAGES
...
...
ee/lib/ee/gitlab/ci/status/build/failed.rb
View file @
0a7b5db3
...
...
@@ -11,7 +11,7 @@ module EE
prepended
do
EE_REASONS
=
const_get
(
:REASONS
).
merge
(
protected_environment_failure:
'protected environment failure'
,
invalid_bridge_trigger:
'downstream pipeline trigger definition is
not
valid'
,
invalid_bridge_trigger:
'downstream pipeline trigger definition is
in
valid'
,
insufficient_bridge_permissions:
'no permissions to trigger downstream pipeline'
).
freeze
...
...
ee/spec/models/ci/pipeline_spec.rb
View file @
0a7b5db3
...
...
@@ -457,7 +457,7 @@ describe Ci::Pipeline do
end
describe
'#source_bridge'
do
it
'
has
does not have a bridge source'
do
it
'does not have a bridge source'
do
expect
(
pipeline
.
source_bridge
).
to
be_nil
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment