Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
fc3ebf89
Commit
fc3ebf89
authored
Dec 06, 2017
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Override REPORT_DIR for troubleshooting build-packer-ami failures
parent
98b391a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
pavelib/utils/envs.py
+7
-0
No files found.
pavelib/utils/envs.py
View file @
fc3ebf89
...
...
@@ -53,6 +53,13 @@ class Env(object):
# Reports Directory
REPORT_DIR
=
REPO_ROOT
/
'reports'
# Override the Reports Dir for jenkins packer builds
# so that we can archive the artifacts
if
os
.
environ
.
get
(
'WORKSPACE'
)
and
os
.
environ
.
get
(
'JOB_NAME'
)
==
'build-packer-ami'
:
print
(
'DEBUG DEBUG DEBUG: overriding the reports dir'
)
REPORT_DIR
=
os
.
environ
.
get
(
'WORKSPACE'
)
/
'reports'
METRICS_DIR
=
REPORT_DIR
/
'metrics'
# Generic log dir
...
...
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