Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PET
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ch1187
plugins4freva
PET
Commits
a2e1c60b
Commit
a2e1c60b
authored
2 months ago
by
Mostafa Hadizadeh
Browse files
Options
Downloads
Patches
Plain Diff
added docstring
parent
38d07a36
No related branches found
No related tags found
2 merge requests
!4
Add HTML and ZIP file to make the result section better
,
!2
Plugin template
Pipeline
#92742
passed
2 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pet-wrapper-api.py
+4
-0
4 additions, 0 deletions
pet-wrapper-api.py
with
4 additions
and
0 deletions
pet-wrapper-api.py
+
4
−
0
View file @
a2e1c60b
...
...
@@ -194,6 +194,10 @@ class PET(plugin.PluginAbstract):
return
file_dict
def
prepare_html_output
(
self
,
path_output
):
"""
Prepare the HTML output for the plugin in
the result section.
"""
result
=
subprocess
.
run
(
[
"
ls
"
,
"
-la
"
,
path_output
],
capture_output
=
True
,
text
=
True
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment