This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jenkinsci.plugins.mesos.*; | |
import org.apache.mesos.*; | |
JenkinsScheduler scheduler = (JenkinsScheduler) Mesos.getInstance() | |
.getScheduler(); | |
scheduler.isRunning(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To restart Jenkins manually, you can use either of the following commands: | |
(jenkins_url)/safeRestart - Allows all running builds to complete. | |
(jenkins_url)/restart - Forces a restart without waiting for builds to complete. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stop a service. | |
sudo use docker stop | |
restart use with --insecure-registry arguments: | |
/usr/bin/docker -d --insecure-registry localhost:5000 | |
or correct /etc/default/docker record and supplement a following line: | |
DOCKER_OPTS="--insecure-registry localhost:5000" |
NewerOlder