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

Pre-split cat step.yml command #424

Merged
merged 1 commit into from Jul 13, 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

Pre-split cat step.yml command

We are passing the command as an array, so we need to pre-split the
command into separate words.
  • Loading branch information
aneeshusa committed Jul 3, 2016
commit af5ab0a804d6588f2551d82491b6319efb34e9e0
@@ -130,9 +130,8 @@ def __init__(self, builder_name, environment, yaml_path, **kwargs):
@defer.inlineCallbacks
def run(self):
try:
print_yaml_cmd = "cat {}".format(self.yaml_path)
cmd = yield self.makeRemoteShellCommand(
command=[print_yaml_cmd],
command=["cat", "./{}".format(self.yaml_path)],
collectStdout=True
)
yield self.runCommand(cmd)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.