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
05efbc07
Commit
05efbc07
authored
Feb 16, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set blob path for security report tab
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
35ca13e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/views/projects/pipelines/_with_tabs.html.haml
app/views/projects/pipelines/_with_tabs.html.haml
+2
-1
No files found.
app/views/projects/pipelines/_with_tabs.html.haml
View file @
05efbc07
-
failed_builds
=
@pipeline
.
statuses
.
latest
.
failed
-
sast_artifact
=
@pipeline
.
sast_artifact
-
sast_artifact_url
=
raw_project_build_artifacts_url
(
@project
,
sast_artifact
,
path:
Ci
::
Build
::
SAST_FILE
)
if
sast_artifact
-
blob_path
=
project_blob_path
(
@project
,
@pipeline
.
sha
)
.tabs-holder
%ul
.pipelines-tabs.nav-links.no-top.no-bottom.mobile-separator
...
...
@@ -61,4 +62,4 @@
%pre
.build-log
=
build_summary
(
build
,
skip:
index
>=
10
)
-
if
sast_artifact
#js-tab-security
.build-security.tab-pane
#js-security-report-app
{
data:
{
endpoint:
sast_artifact_url
,
blobPath:
''
}
}
#js-security-report-app
{
data:
{
endpoint:
sast_artifact_url
,
blobPath:
blob_path
}
}
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