{"id":23892,"date":"2023-08-15T08:26:23","date_gmt":"2023-08-15T08:26:23","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=23892"},"modified":"2025-01-10T03:20:26","modified_gmt":"2025-01-10T03:20:26","slug":"how-to-prevent-builds-from-running-on-built-in-node","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/how-to-prevent-builds-from-running-on-built-in-node\/","title":{"rendered":"How to prevent builds from running on built-in node?"},"content":{"rendered":"<h2>Prevent builds from running on the built-in node?<\/h2>\n<p>Running builds on the built-in node can be a security issue. To prevent builds from running on the built-in node, you should set the number of executors on the built-in node to 0<\/p>\n<h2>Steps<\/h2>\n<p>The steps to prevent builds from running on the built-in nodes are as follows:<\/p>\n<p>Launch Jenkins CI tool.<\/p>\n<p>Navigate to the following page:<\/p>\n<p>Click on the Manage Jenkins gear icon settings link from the dashboard page.<\/p>\n<p>Click on the Nodes.<\/p>\n<p><strong>Dashboard &gt;&gt; Manage Jenkins &gt;&gt; Nodes<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23895\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Manage.png\" alt=\"Jenkins Manage\" width=\"1918\" height=\"928\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Manage.png 1918w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Manage-300x145.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Manage-1024x495.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Manage-768x372.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Manage-1536x743.png 1536w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Select Built-In Node in the list.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23899\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Built-In-Node.png\" alt=\"Jenkins Built-In Node\" width=\"1918\" height=\"920\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Built-In-Node.png 1918w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Built-In-Node-300x144.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Built-In-Node-1024x491.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Built-In-Node-768x368.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Jenkins-Built-In-Node-1536x737.png 1536w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Click on the Configure button in the menu. For example, this will open the following page:<\/p>\n<p><em>http:\/\/localhost:8080\/computer\/(built-in)\/configure<\/em><\/p>\n<p>Set the <strong>Number of executors<\/strong> to zero and click on the <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23902\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Built-In-Node-Jenkins.png\" alt=\"Built-In Node Jenkins\" width=\"1920\" height=\"934\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Built-In-Node-Jenkins.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Built-In-Node-Jenkins-300x146.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Built-In-Node-Jenkins-1024x498.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Built-In-Node-Jenkins-768x374.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Built-In-Node-Jenkins-1536x747.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Set up Clouds or build Agents to run builds on; otherwise, builds won\u2019t be able to start.<\/p>\n<p>&nbsp;<\/p>\n<h2>Jenkins Tutorials<\/h2>\n<p>Jenkins Tutorials on this website can be found at:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/jenkins-tutorial\">https:\/\/www.testingdocs.com\/jenkins-tutorial<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Prevent builds from running on the built-in node? Running builds on the built-in node can be a security issue. To prevent builds from running on the built-in node, you should set the number of executors on the built-in node to 0 Steps The steps to prevent builds from running on the built-in nodes are as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-23892","post","type-post","status-publish","format-standard","hentry","category-java","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/23892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=23892"}],"version-history":[{"count":12,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/23892\/revisions"}],"predecessor-version":[{"id":26608,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/23892\/revisions\/26608"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=23892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=23892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=23892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}