mirror of
https://github.com/LamGC/jenkins-agent-with-docker.git
synced 2025-04-29 22:27:31 +00:00
再试一下,看看能不能解决。
This commit is contained in:
parent
fe906cb569
commit
997b4142c8
@ -23,4 +23,4 @@ if [ $(id -u jenkins) -ne $UID ]; then
|
||||
fi
|
||||
|
||||
echo "Starting agent..."
|
||||
su jenkins -m -c "/usr/local/bin/jenkins-agent $@"
|
||||
su jenkins -m -s /bin/bash -c "/usr/local/bin/jenkins-agent $@"
|
||||
|
Loading…
Reference in New Issue
Block a user