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
b2cb15ed
Commit
b2cb15ed
authored
Dec 28, 2021
by
Andrejs Cunskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set fallback report path first
parent
b94ab577
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
qa/qa/tools/knapsack_report.rb
qa/qa/tools/knapsack_report.rb
+1
-2
No files found.
qa/qa/tools/knapsack_report.rb
View file @
b2cb15ed
...
...
@@ -35,10 +35,9 @@ module QA
file
=
client
.
get_object
(
BUCKET
,
report_file
)
File
.
write
(
report_path
,
file
[
:body
])
rescue
StandardError
=>
e
ENV
[
"KNAPSACK_REPORT_PATH"
]
=
"knapsack/master_report.json"
logger
.
warn
(
"Failed to fetch latest knapsack report:
#{
e
}
"
)
logger
.
warn
(
"Falling back to 'knapsack/master_report.json'"
)
ENV
[
"KNAPSACK_REPORT_PATH"
]
=
"knapsack/master_report.json"
end
# Rename and move new regenerated report to a separate folder used to indicate report name
...
...
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