Exec exit status not zero. Status [126] 解决方法
SSH: Connecting from host [web.beijing]
SSH: Connecting with configuration [192.168.1.21测试环境] ...
SSH: EXEC: STDOUT/STDERR from command [/xxxx] ...
bash: /xx/xx/xx.sh: Ȩ����
SSH: EXEC: completed after 201 ms
SSH: Disconnecting configuration [xxxx] ...
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [126]]
jenkins自动化构建时,执行远程SSH时,返回错误状态码 126.
原因: 对应的.sh 脚本权限不足,修改需执行的脚本权限即可、
还没有评论,来说两句吧...