maven-compiler-plugin运行时候Cannot run program "/bin/sh"

ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project auth-api: Fatal error compiling: Error while executing the external compiler. Error while executing process. Cannot run program “/bin/sh” (in directory “/myfile/app/ops/jenkins/workspace/settlement-app-maven/auth-api”): error=0, Failed to exec spawn helper: pid: 101476, exit value: 127 → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

not sure but looks like the same problem as described here: Jenkins issue: FATAL: command execution failed
So restarting the controller and/or agent java process might help