{"id":1892,"date":"2020-04-10T11:08:25","date_gmt":"2020-04-10T08:08:25","guid":{"rendered":"https:\/\/artem.services\/?p=1871"},"modified":"2020-04-15T16:14:18","modified_gmt":"2020-04-15T13:14:18","slug":"1892","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=1892&lang=en","title":{"rendered":"Jenkins &#8212; Add new path to PATH"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-819\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2019\/02\/Jenkins-Logo.png\" alt=\"\" width=\"1280\" height=\"412\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2019\/02\/Jenkins-Logo.png 1280w, https:\/\/artem.services\/wp-content\/uploads\/2019\/02\/Jenkins-Logo-300x97.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2019\/02\/Jenkins-Logo-768x247.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2019\/02\/Jenkins-Logo-1024x330.png 1024w, https:\/\/artem.services\/wp-content\/uploads\/2019\/02\/Jenkins-Logo-954x307.png 954w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>To add the path to the <strong>Jenkins<\/strong> environment globally, without doing this every time in <strong>Pipeline<\/strong>, we\u2019ll go to the <strong>Jenkins<\/strong> settings<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1782\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/001.png\" alt=\"\" width=\"349\" height=\"383\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/001.png 349w, https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/001-273x300.png 273w\" sizes=\"(max-width: 349px) 100vw, 349px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Next is the tab &quot;<strong>Configure System<\/strong>&quot;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1785\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/004.png\" alt=\"\" width=\"969\" height=\"441\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/004.png 969w, https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/004-300x137.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/004-768x350.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2020\/03\/004-954x434.png 954w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Find the &quot;<strong>Global properties<\/strong>&quot; block, check the &quot;<strong>Environment variables<\/strong>&quot; checkbox. And we add a variable with the name &quot;PATH + EXTRA&quot; and the value &#8212; the paths that need to be added, separated by &quot;<strong>:<\/strong>&quot; among themselves, if there are several.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1872\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22.png\" alt=\"\" width=\"2142\" height=\"506\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22.png 2142w, https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22-300x71.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22-1024x242.png 1024w, https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22-768x181.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22-1536x363.png 1536w, https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22-2048x484.png 2048w, https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22-954x225.png 954w, https:\/\/artem.services\/wp-content\/uploads\/2020\/04\/Screenshot-2020-04-09-at-16.13.22-1354x320.png 1354w\" sizes=\"(max-width: 2142px) 100vw, 2142px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; To add the path to the Jenkins environment globally, without doing this every time in Pipeline, we\u2019ll go to the Jenkins settings &nbsp; Next is the tab &quot;Configure System&quot; &nbsp; Find the &quot;Global properties&quot; block, check the &quot;Environment variables&quot; checkbox. And we add a variable with the name &quot;PATH + EXTRA&quot; and the value &hellip; <a href=\"https:\/\/artem.services\/?p=1892&#038;lang=en\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c<span class=\"screen-reader-text\"> &quot;Jenkins &#8212; Add new path to PATH&quot;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[613],"tags":[1555,617,1557,1559],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1892"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1892"}],"version-history":[{"count":2,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1892\/revisions"}],"predecessor-version":[{"id":1894,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1892\/revisions\/1894"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}