dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [worker] The RemoteShellTask `getTaskExitCode` method may encounter situations where it cannot retrieve the exit code properly.

Open Zzih96 opened this issue 10 months ago • 0 comments

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. image image image

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

Zzih96 avatar Apr 25 '24 03:04 Zzih96