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

Unknown parameter TemporaryOnly provided to artifact Generic.Utils.FetchBinary #3202

Closed
predictiple opened this issue Jan 7, 2024 · 2 comments

Comments

@predictiple
Copy link
Contributor

The TemporaryOnly parameter makes sense for connected clients when you want to ensure that certain tools don't lay around cached on the endpoint. However artifacts that use Generic.Utils.FetchBinary with this parameter fail when used in offline collector mode.

The error is:
Unknown parameter TemporaryOnly provided to artifact Generic.Utils.FetchBinary
and then
shell: exec: "Null": executable file not found in %PATH%

TemporaryOnly parameter is not needed for offline clients because they don't cache their tools but that means maintaining an alternative "offline version" of any artifact which does need to use it.

Tested with:
version: 0.7.1-1
commit: 2d7d6cf
Server Ubuntu 22.04 and Windows 11 amd64 client.

@predictiple
Copy link
Contributor Author

Same issue with the Version parameter:
Unknown parameter Version provided to artifact Generic.Utils.FetchBinary

@scudette
Copy link
Contributor

Fixed by #3209

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