dolphinscheduler
dolphinscheduler copied to clipboard
[Bug] [worker] The RemoteShellTask `getTaskExitCode` method may encounter situations where it cannot retrieve the exit code properly.
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
The RemoteShellTask getTaskExitCode
method may encounter situations where it cannot retrieve the exit code properly.
For example, in the following code, when curl returns a value, the exit code may not be parsed correctly.
What you expected to happen
see above
How to reproduce
see above
Anything else
No response
Version
dev
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct