jenkins script returned exit code 3
时间: 2024-05-28 11:12:17 浏览: 332
Jenkins构建执行脚本
When you see an exit code 3 in Jenkins, it usually means that the script or command being executed has encountered an error. Here are a few things you can try to resolve the issue:
1. Check the Jenkins build log for more information on the error. Look for any error messages or stack traces that might give you a clue as to what went wrong.
2. Verify that the script or command being executed is correct and that all required dependencies are installed.
3. Try running the script or command manually outside of Jenkins to see if it produces the same error.
4. If you are using a Jenkinsfile, make sure that the syntax is correct and that all stages and steps are defined properly.
5. Check that the Jenkins agent or worker node has the necessary permissions to execute the script or command.
6. If all else fails, try running the Jenkins build with increased logging verbosity to see if more information can be gathered on the error.
阅读全文