BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c9108442
Commit
c9108442
authored
Oct 19, 2016
by
Kamil Trzcinski
Committed by
Grzegorz Bizon
Oct 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update duration at the end of pipeline
parent
1f949c0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
CHANGELOG.md
CHANGELOG.md
+1
-0
pipeline.rb
app/models/ci/pipeline.rb
+0
-3
No files found.
CHANGELOG.md
View file @
c9108442
...
@@ -22,6 +22,7 @@ Please view this file on the master branch, on stable branches it's out of date.
...
@@ -22,6 +22,7 @@ Please view this file on the master branch, on stable branches it's out of date.
-
Add
`/projects/visible`
API endpoint (Ben Boeckel)
-
Add
`/projects/visible`
API endpoint (Ben Boeckel)
-
Fix centering of custom header logos (Ashley Dumaine)
-
Fix centering of custom header logos (Ashley Dumaine)
-
Keep around commits only pipeline creation as pipeline data doesn't change over time
-
Keep around commits only pipeline creation as pipeline data doesn't change over time
-
Update duration at the end of pipeline
-
ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup
-
ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup
-
Add group level labels. (!6425)
-
Add group level labels. (!6425)
-
Add an example for testing a phoenix application with Gitlab CI in the docs (Manthan Mallikarjun)
-
Add an example for testing a phoenix application with Gitlab CI in the docs (Manthan Mallikarjun)
...
...
app/models/ci/pipeline.rb
View file @
c9108442
...
@@ -59,9 +59,6 @@ module Ci
...
@@ -59,9 +59,6 @@ module Ci
before_transition
any
=>
[
:success
,
:failed
,
:canceled
]
do
|
pipeline
|
before_transition
any
=>
[
:success
,
:failed
,
:canceled
]
do
|
pipeline
|
pipeline
.
finished_at
=
Time
.
now
pipeline
.
finished_at
=
Time
.
now
end
before_transition
do
|
pipeline
|
pipeline
.
update_duration
pipeline
.
update_duration
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