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

Fail action when module installation fails #202

Closed
BernieWhite opened this issue Aug 11, 2021 · 0 comments · Fixed by #203
Closed

Fail action when module installation fails #202

BernieWhite opened this issue Aug 11, 2021 · 0 comments · Fixed by #203
Assignees
Labels
bug Something isn't working
Milestone

Comments

@BernieWhite
Copy link
Member

Description of the issue

If a module fails to install, an PowerShell error will be generated in output but this doesn't stop the pipeline.

If the module is not installed, included rules can not be run.

Expected behaviour

If any module fails to install, the action should error.

Failing to install a module could be a transient issue.

Task in use and version:

  • Task: ps-rule-assert
  • Version: 1.0.0
@BernieWhite BernieWhite added the bug Something isn't working label Aug 11, 2021
@BernieWhite BernieWhite added this to the v1.1.0 milestone Aug 11, 2021
@BernieWhite BernieWhite self-assigned this Aug 11, 2021
BernieWhite referenced this issue in BernieWhite/PSRule-pipelines Aug 11, 2021
@BernieWhite BernieWhite mentioned this issue Aug 11, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant