Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

19
  • 15
    For safeRestart, see stackoverflow.com/a/15555339/260122 java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8080/ safe-restart (if installed by rpm or deb, otherwise adjust accordingly). Commented Nov 14, 2013 at 3:28
  • 14
    This causes a RestartNotSupportedException in Jenkins 1.532.1 with IcedTea 2.3.9. sudo /etc/init.d/jenkins restart worked for me though. Commented Feb 5, 2014 at 18:57
  • 5
    In Windows, use the Windows service rather than the command line. Commented Sep 30, 2015 at 6:59
  • 14
    Are there any internal links from jenkins to do this instead of rememebering magic url's? Commented Sep 20, 2016 at 19:15
  • 12
    Is this not available in the web gui? Commented Jul 8, 2018 at 14:39