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
545d5be0
Commit
545d5be0
authored
Oct 04, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename event :schedule to event :delay in Ci::Pipeline to avoid conflicts with enum source
parent
f84db3cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/models/ci/pipeline.rb
app/models/ci/pipeline.rb
+2
-2
No files found.
app/models/ci/pipeline.rb
View file @
545d5be0
...
...
@@ -109,7 +109,7 @@ module Ci
transition
any
-
[
:manual
]
=>
:manual
end
event
:
schedule
do
event
:
delay
do
transition
any
-
[
:scheduled
]
=>
:scheduled
end
...
...
@@ -549,7 +549,7 @@ module Ci
when
'canceled'
then
cancel
when
'skipped'
then
skip
when
'manual'
then
block
when
'scheduled'
then
schedule
when
'scheduled'
then
delay
else
raise
HasStatus
::
UnknownStatusError
,
"Unknown status `
#{
latest_builds_status
}
`"
...
...
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