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
Support ignoreExitValue on NodeTask #8
Comments
If you're interested I can create a PR for it. |
Yes. I welcome a pull request :-) // srs
|
With the closure as well, or just the direct |
A closure would be more flexible so let's try that :-) |
It's actually a fix on the Node plugin: srs/gradle-node-plugin#6 |
ExecSpec
in core Gradle supports theignoreExitValue
flag. When set, it ignores exit value of the process (otherwise an exception is thrown). Please expose this flag inNodeTask
as well.Optionally, also add a way to customize the
ExecSpec
directly. For instance accept a closure to run on the spec directly, like this inExecRunner
:Why is it needed? I use it to run integration tests, and I want to shut down my server after running the tests. The tests may fail, but I don't want the build to stop.
The text was updated successfully, but these errors were encountered: