{"id":5161,"date":"2023-02-14T14:33:39","date_gmt":"2023-02-14T14:33:39","guid":{"rendered":"https:\/\/arzhost.com\/blogs\/?p=5161"},"modified":"2025-09-17T17:35:13","modified_gmt":"2025-09-17T12:35:13","slug":"restart-jenkins-manually","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/","title":{"rendered":"How to Restart Jenkins Manually: A Step-by-Step Guide"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Introduction_Jenkins_and_How_Does_it_Work\" >Introduction: Jenkins and How Does it Work<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Restart_Jenkins_via_URL\" >Restart Jenkins via URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Simplify_Remote_Work_Sign_Up_for_RDP_Hosting_and_Save_Big\" >Simplify Remote Work: Sign Up for RDP Hosting and Save Big!<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Restart_Jenkins_via_the_Safe_Restart_Plugin\" >Restart Jenkins via the Safe Restart Plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#CLI_restart_Jenkins\" >CLI restart Jenkins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#How_to_Restart_Jenkins_on_Windows_Linux_and_Mac\" >How to Restart Jenkins on Windows, Linux, and Mac?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Boost_Your_Sites_Performance_with_VPS_Hosting%E2%80%94Grab_the_Discounts_Now\" >Boost Your Site\u2019s Performance with VPS Hosting\u2014Grab the Discounts Now!<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Restart_the_Jenkins_Service_in_Windows\" >Restart the Jenkins Service in Windows<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Restart_MacOSs_Jenkins_service\" >Restart MacOS&#8217;s Jenkins service.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/arzhost.com\/blogs\/restart-jenkins-manually\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Introduction_Jenkins_and_How_Does_it_Work\"><\/span>Introduction: Jenkins and How Does it Work<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Users could run into a circumstance where they need to restart Jenkins while using it manually. How to Restart Jenkins Manually? This could happen for a variety of reasons, such as adding plugins or debugging problems. Fortunately, Jenkins provides several ways to carry out a manual restart.<\/p>\n\n\n\n<p>In this article from our <a href=\"https:\/\/arzhost.com\/blogs\/\"><strong>blog<\/strong><\/a>, we&#8217;ll review the various techniques for manually restarting Jenkins.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A fully functional installation of Jenkins (learn how to install Jenkins on Ubuntu 18.04, Debian 10, CentOS 8, or Windows 10).<\/li>\n\n\n\n<li>Having the use of a web browser<\/li>\n\n\n\n<li>Access to the command prompt or terminal window (Linux and macOS) (Windows).<\/li>\n\n\n\n<li>The ability to access a user account with sudo\/administrator rights.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Restart_Jenkins_via_URL\"><\/span><strong>Restart Jenkins via URL<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Enter the correct URL to restart Jenkins if you are using the Jenkins dashboard in a web browser. Jenkins will restart if you use the default restart URL without waiting for any builds to finish:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>restart at [Jenkins URL]<\/code><\/li>\n<\/ul>\n\n\n\n<p>Use the safe restart option to finish all open jobs before the restart. Once the restart is complete, new jobs will start to queue up and run:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/safe Restart Jenkins URL<\/code><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-a04f614c wp-block-button uag-blocks-common-selector\" style=\"--z-index-desktop:479;;--z-index-tablet:undefined;;--z-index-mobile:undefined;\"><div class=\"uagb-cta__wrap\"><h2 class=\"uagb-cta__title\"><span class=\"ez-toc-section\" id=\"Simplify_Remote_Work_Sign_Up_for_RDP_Hosting_and_Save_Big\"><\/span><a href=\"https:\/\/arzhost.com\/rdps\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/rdps\/\">Simplify Remote Work: Sign Up for RDP Hosting and Save Big!<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2><p class=\"uagb-cta__desc\">Remote Access Made Easy with <a href=\"https:\/\/arzhost.com\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/\">ARZ Host<\/a>\u2014Get 30% Off Your First RDP Plan<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/arzhost.com\/rdps\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_self\" rel=\"noopener noreferrer\">Read More<\/a><\/div><\/div>\n\n\n\n<p><u>How to Restart Jenkins Manually? Both choices necessitate hitting the Yes button to confirm the restart:<\/u><\/p>\n\n\n\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/HY0H4mXBV3o\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<p>The system&#8217;s hostname and the port Jenkins is executing on are both included in the Jenkins URL (the default port is 8080). When logging into your system&#8217;s Jenkins dashboard, use:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>http:\/\/localhost:8080\/restart<\/code><\/li>\n\n\n\n<li><code>http:\/\/localhost:8080\/saferestart<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>Use: to sign in if you are using a different system.<\/u><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>http:\/\/[your system's hostname]:8080\/restart<\/code><\/li>\n\n\n\n<li><code>http:\/\/[your system's hostname]:8080\/safe Restart<\/code><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Restart_Jenkins_via_the_Safe_Restart_Plugin\"><\/span><strong>Restart Jenkins via the Safe Restart Plugin<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You may do a safe restart from the Jenkins dashboard thanks to the Safe Restart plugin for Jenkins.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>To begin adding the plugin, click the Manage Jenkins option on the dashboard&#8217;s left side:<\/li>\n\n\n\n<li>Select Manage Plugins from the System Configuration section:<\/li>\n\n\n\n<li>Find &#8220;safe restart&#8221; under the Available tab and select the Safe Restart plugin by checking the box next to its name.<\/li>\n\n\n\n<li>To add the plugin, click the Install without restart option as follows:<\/li>\n\n\n\n<li>Return to your dashboard when the plugin has been installed. On the left side, a new link labeled &#8220;Restart Safely&#8221; has appeared:<\/li>\n\n\n\n<li>Clicking the link starts a secure Jenkins restart. Clicking the Yes option will require you to confirm the restart.<\/li>\n<\/ol>\n\n\n\n<p>Want to run a bash Command? See our detailed article on <a href=\"https:\/\/arzhost.com\/blogs\/how-to-run-a-bash-script-in-terminal\/\"><strong>Running a Bash Script in Terminal<\/strong><\/a> to help you automate your tasks, streamline processes, and manage system operations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CLI_restart_Jenkins\"><\/span><strong>CLI restart Jenkins<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>A Java file called Jenkins CLI (Command Line Interface) functions as an addition to the local terminal shell. From a terminal window or command prompt, you may control Jenkins using Java commands.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"628\" title=\"cli restart jenkins\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/cli-restart-jenkins.jpg\" alt=\"cli restart jenkins\" class=\"wp-image-13273\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/cli-restart-jenkins.jpg 1200w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/cli-restart-jenkins-300x157.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/cli-restart-jenkins-1024x536.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/cli-restart-jenkins-768x402.jpg 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><figcaption class=\"wp-element-caption\">cli restart jenkins<\/figcaption><\/figure><\/div>\n\n\n<p>1: Download the Jenkins CLI.jar file first<\/p>\n\n\n\n<p>2: Click the Manage Jenkins link on the left-hand side of the Jenkins dashboard once it has loaded in your web browser.<\/p>\n\n\n\n<p>3: In the Tools and Actions area, scroll down and select the Jenkins CLI button.<\/p>\n\n\n\n<p>4: Download Jenkins-cli.jar using the provided link.<\/p>\n\n\n\n<p>5: To restart Jenkins after the download is finished, open a terminal window or command prompt and enter the following commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>restarting Java using the command java -jar [path to the jenkins-cli.jar file]<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>For instance, using a Windows computer with the Jenkins-cli.jar file in the Downloads folder:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Restart with the command: java -jar C:UsersakovaDownloadsjenkins-cli.jar -s <a href=\"http:\/\/localhost:8080\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost:8080<\/a><\/code><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Restart_Jenkins_on_Windows_Linux_and_Mac\"><\/span><strong>How to Restart Jenkins on Windows, Linux, and Mac?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><span style=\"color: #000000;\"><strong>How to Restart Jenkins Manually?<\/strong><\/span> Jenkins starts up as a background service after installation. It can therefore be restarted using the same instructions as other services.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Restart the Linux Jenkins Service.<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>Start the Jenkins service restart on a Linux computer by typing:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>systemctl restart Jenkins with sudo<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>Another approach is to apply:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>restart Jenkins with sudo \/etc\/init. d<\/code><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-aaa58f13 wp-block-button uag-blocks-common-selector\" style=\"--z-index-desktop:479;;--z-index-tablet:undefined;;--z-index-mobile:undefined;\"><div class=\"uagb-cta__wrap\"><h2 class=\"uagb-cta__title\"><span class=\"ez-toc-section\" id=\"Boost_Your_Sites_Performance_with_VPS_Hosting%E2%80%94Grab_the_Discounts_Now\"><\/span><a href=\"https:\/\/arzhost.com\/vps\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/vps\/\">Boost Your Site\u2019s Performance with VPS Hosting\u2014Grab the Discounts Now!<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2><p class=\"uagb-cta__desc\">Unlock the Potential of VPS Hosting\u2014<strong>Exclusive Offers<\/strong> for New Customers!<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/arzhost.com\/vps\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_self\" rel=\"noopener noreferrer\">Read More<\/a><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Restart_the_Jenkins_Service_in_Windows\"><\/span><strong>Restart the Jenkins Service in Windows<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><u>How to Restart Jenkins Manually? Use the net command to stop and then restart the Jenkins service on the Windows command prompt:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>jenkins, net stop<\/code><\/li>\n\n\n\n<li><code>start net jenkins<\/code><\/li>\n<\/ul>\n\n\n\n<p><u>Restarting Jenkins.exe by going to the installation folder for Jenkins is another option. For illustration:<\/u><\/p>\n\n\n\n<p>Jenkins, program files at C:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>start jenkins.exe<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong>Related Article: <a href=\"https:\/\/arzhost.com\/blogs\/install-node-js-and-npm-on-windows\/\">Install node.js and NPM on Windows<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Restart_MacOSs_Jenkins_service\"><\/span><strong>Restart MacOS&#8217;s Jenkins service.<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><u>How to Restart Jenkins Manually? Use the launchctl command to stop and start the Jenkins service twice on MacOS to restart it:<\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/Library\/LaunchDaemons\/org.jenkins-ci.plist sudo launchctl unload<\/code><\/li>\n\n\n\n<li><code>\/Library\/LaunchDaemons\/org.jenkins-ci.plist sudo launchctl load<\/code><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After reading this guide, you have to be able How to Restart Jenkins Manually? using one of the techniques described above.<\/p>\n\n\n\n<p><strong>Read More:<\/strong><\/p>\n\n\n<ul class=\"wp-block-latest-posts__list wp-block-latest-posts\"><li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/how-to-fix-403-forbidden-error-wordpress\/\">How To Fix 403 Forbidden Error WordPress<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/how-to-get-the-most-out-of-claude-ai\/\">How To Get The Most Out Of Claude Ai<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/bad-gateway-error-502-the-ultimate-guide-to-quick-fixes\/\">Bad Gateway Error (502): The Ultimate Guide to Quick Fixes<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/a-deep-dive-into-todays-best-linux-distros\/\">A Deep Dive Into Today\u2019s Best Linux Distros<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/domain-investor-terms-powerful-strategy\/\">Domain Investor Terms: Expert Insight on Powerful Strategy<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Introduction: Jenkins and How Does it Work Users could run into a circumstance where they need to restart Jenkins while using it manually. How to Restart Jenkins Manually? This could happen for a variety of reasons, such as adding plugins or debugging problems. Fortunately, Jenkins provides several ways to carry out a manual restart. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9587,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[194,198,197,195,196],"table_tags":[],"class_list":["post-5161","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-jenkins","tag-linux","tag-macos","tag-restart","tag-windows"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/5161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=5161"}],"version-history":[{"count":6,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/5161\/revisions"}],"predecessor-version":[{"id":13274,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/5161\/revisions\/13274"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/9587"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=5161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=5161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=5161"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=5161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}