Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows HOME directory to have the proper builder name #441

Merged
merged 1 commit into from Jul 19, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix Windows HOME directory to have the proper builder name

  • Loading branch information
larsbergstrom committed Jul 19, 2016
commit 10b3823a4d275297cbae1e1d360e617dec562fdd
@@ -45,8 +45,6 @@ def without(self, to_unset):

build_windows = build_common + Environment({
'CARGO_HOME': '/home/Administrator/.cargo',
# Set home directory, to avoid adding `cd` command on every command
'HOME': r'C:\buildbot\slave\windows\build',
'MSYS': 'winsymlinks=lnk',
'MSYSTEM': 'MINGW64',
'PATH': ';'.join([
@@ -182,6 +182,10 @@ def make_step(self, command):
# Add bash -l before every command on Windows builders
bash_command = ["bash", "-l"] if self.is_windows else []
step_kwargs['command'] = bash_command + command
step_env += envs.Environment({
# Set home directory, to avoid adding `cd` command on every command
'HOME': r'C:\buildbot\slave\{}\build'.format(self.builder_name),
})

step_class = steps.ShellCommand
args = iter(command)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.