use /etc/init.d/jenkins to start/stop server
This commit is contained in:
parent
723e2d2246
commit
c0d4e678d4
1 changed files with 2 additions and 2 deletions
|
@ -97,5 +97,5 @@ for plugin in ${PLUGINS//,/ }; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Restart jenkins
|
# Restart jenkins
|
||||||
stop jenkins || true
|
/etc/init.d/jenkins stop || true
|
||||||
start jenkins
|
/etc/init.d/jenkins start
|
||||||
|
|
Loading…
Reference in a new issue