jenkins 執行shell命令 command not found,make: *** [build] Error 127 解決辦法

本地執行shell命令成功,Jenkins 遠程執行 shell命令有時 提示命令找不到,或者make的時候報錯。shell 由於Jenkins執行shell時沒法獲取環境變量的緣由致使bash 解決辦法在shell腳本上加上環境變量如code #!/bin/bash source ~/.bash_profile source /etc/profile 就能夠正經常使用Jenkins執行shel
相關文章
相關標籤/搜索