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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
7e5bbc0d
Commit
7e5bbc0d
authored
Jun 29, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use associated build pipeline
parent
63c64ab3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app/controllers/projects/jobs_controller.rb
app/controllers/projects/jobs_controller.rb
+2
-4
No files found.
app/controllers/projects/jobs_controller.rb
View file @
7e5bbc0d
...
@@ -44,12 +44,10 @@ class Projects::JobsController < Projects::ApplicationController
...
@@ -44,12 +44,10 @@ class Projects::JobsController < Projects::ApplicationController
end
end
def
show
def
show
@builds
=
@project
.
pipelines
@pipeline
=
@build
.
pipeline
.
find_by_sha
(
@build
.
sha
)
@builds
=
@pipeline
.
builds
.
builds
.
order
(
'id DESC'
)
.
order
(
'id DESC'
)
.
present
(
current_user:
current_user
)
.
present
(
current_user:
current_user
)
@pipeline
=
@build
.
pipeline
respond_to
do
|
format
|
respond_to
do
|
format
|
format
.
html
format
.
html
...
...
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