Skip to content

Commit

Permalink
Merge pull request kubernetes#9709 from BenTheElder/this-is-why-we-do…
Browse files Browse the repository at this point in the history
…nt-touch-bootstrap

get artifacts env correctly
  • Loading branch information
k8s-ci-robot authored Oct 5, 2018
2 parents 624317e + 2994d84 commit 30a377d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jenkins/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,9 @@ def setup_logging(path):


def get_artifacts_dir():
if JOB_ARTIFACTS_ENV in os.environ:
return JOB_ARTIFACTS_ENV
return os.path.join(os.getenv(WORKSPACE_ENV, os.getcwd()), '_artifacts')
return os.getenv(
JOB_ARTIFACTS_ENV,
os.path.join(os.getenv(WORKSPACE_ENV, os.getcwd()), '_artifacts'))


def setup_magic_environment(job, call):
Expand Down

0 comments on commit 30a377d

Please sign in to comment.