mirror of
https://github.com/LamGC/jenkins-agent-with-docker.git
synced 2025-07-01 21:07:23 +00:00
尝试移除 exec 来调用脚本。
This commit is contained in:
@ -18,5 +18,4 @@ if [ $(id -u jenkins) -ne $UID ]; then
|
||||
usermod -u $UID jenkins
|
||||
fi
|
||||
|
||||
# 使用传入的参数列表启动 Jenkins agent
|
||||
exec /usr/local/bin/jenkins-agent "$@"
|
||||
/usr/local/bin/jenkins-agent "$@"
|
||||
|
Reference in New Issue
Block a user