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

Provide custom directory for log files #69

Closed
DmitryLobanov opened this issue May 29, 2015 · 4 comments
Closed

Provide custom directory for log files #69

DmitryLobanov opened this issue May 29, 2015 · 4 comments

Comments

@DmitryLobanov
Copy link
Contributor

Currently PSBuild stores log files in default directory. It would be nice to specify custom directory for logs.

Usecase: we are using multiple build agents on the same server, so technically it is possible that we have the same .proj file being built on >=2 build agents at the same time. In this case there can be conflicts with log files.

@sayedihashimi
Copy link
Member

Thanks for the report. You can set it by calling Set-PSBuildLogDirectory https://github.com/ligershark/psbuild/blob/master/src/psbuild.psm1#L938. Please try it and let me know if you have any issues.

@DmitryLobanov
Copy link
Contributor Author

Oh, I think this will work just fine. Thanks!
My apologies for not looking into 'Get-Command psbuild' :)

@sayedihashimi
Copy link
Member

FYI Get-Command -module psbuild will return the full set of commands. Some commands don't have "psbuild" in the name.

@DmitryLobanov
Copy link
Contributor Author

Oh, yeah, thanks, of course it is Get-Command -module PSBuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants