Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created November 18, 2016 19:03
Show Gist options
  • Save notmyname/1a2c6feeafc284ff86555f5795eaefd0 to your computer and use it in GitHub Desktop.
Save notmyname/1a2c6feeafc284ff86555f5795eaefd0 to your computer and use it in GitHub Desktop.
diff --git a/jenkins/jobs/macros.yaml b/jenkins/jobs/macros.yaml
index 419ba6d..01dc504 100644
--- a/jenkins/jobs/macros.yaml
+++ b/jenkins/jobs/macros.yaml
@@ -776,6 +776,14 @@
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh {envlist}"
+- builder:
+ name: tox-with-tmpdir-passed-in
+ builders:
+ - shell: |
+ #!/bin/bash
+ export TMPDIR={new_tmpdir_loc}
+ !include-raw-escape: /usr/local/jenkins/slave_scripts/run-tox.sh {envlist}
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment