xxl-job
xxl-job copied to clipboard
使用 GLUE(PowerShell) 执行失败的任务返回的状态为成功
Which version of XXL-JOB do you using?
2.3.0
Expected behavior
任务结果为失败
Actual behavior
使用 GLUE(PowerShell) 执行失败的任务返回的状态为成功
Steps to reproduce the behavior
1.使用 GLUE(PowerShell) 模式随意新增一个错误的任务 脚本内容:java -version-2 > a.txt3424让负公司的都
脚本错误,可是执行结果返回成功
日志内容: ----------- script file:\home\logs\share\share-JobExecutor\job\gluesource\61_1654671480000.ps1 -----------
%xwExUnrecognized option: -version-2
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
2022-06-08 14:59:46.639 %5p 7780 --- [Thread-23] [] xxl-job logger :
----------- xxl-job job execute end(finish) -----------
----------- Result: handleCode=200, handleMsg = null