Skip to content

Commit

Permalink
Pre-create model zoo work dir and repoort dir (#1492)
Browse files Browse the repository at this point in the history
Signed-off-by: Gong Su <gong_su@hotmail.com>
  • Loading branch information
gongsu832 authored Jun 10, 2022
1 parent a014fd1 commit 8b890b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .buildbot/jenkins-check-model-zoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ def main():

# write summary line to file for Jenkinsfile to pickup
logging.info(' '.join(cmd))
os.makedirs(workspace_workdir)
os.makedirs(workspace_reportdir)
with open(os.path.join(workspace_reportdir, modelzoo_stdout), 'w') as f:
try:
proc = subprocess.Popen(cmd, stdout=f, stderr=subprocess.PIPE)
Expand Down

0 comments on commit 8b890b6

Please sign in to comment.