0
當groovy腳本執行事件掛接時,我部署失敗。AWS代碼部署 - 事件腳本(groovy)執行失敗
的消息是:
Error Code
ScriptFailed
Script Name
uploadLogsToS3.sh
Message
Script at specified location: uploadLogsToS3.sh run as user root failed with exit code 127
Log Tail
LifecycleEvent - AfterInstall
Script - uploadLogsToS3.sh
[stderr]/usr/bin/env: groovy: No such file or directory
uploadLogsToS3.sh
是一個常規外殼腳本。我安裝了Groovy作爲SDKMan。這個問題的解決方案是什麼?