{"id":816,"date":"2023-03-03T22:18:52","date_gmt":"2023-03-03T14:18:52","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=816"},"modified":"2023-03-03T22:19:10","modified_gmt":"2023-03-03T14:19:10","slug":"jenkins-common-configs","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/03\/jenkins-common-configs\/","title":{"rendered":"Jenkins\u5e38\u89c4\u914d\u7f6e"},"content":{"rendered":"<h2>\u5b89\u5168\u8bbe\u7f6e<\/h2>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4efb\u4f55\u7528\u6237\u90fd\u53ef\u4ee5\u4f7f\u7528 Jenkins \u8fdb\u884c\u53d1\u5e03\u3002<\/p>\n<p>\u53ef\u4ee5\u8fdb\u5165\u76f8\u5173\u8bbe\u7f6e\uff1a[\u7cfb\u7edf\u7ba1\u7406] \/ [\u5168\u5c40\u5b89\u5168\u914d\u7f6e]<\/p>\n<p><!-- more --><\/p>\n<ul>\n<li>\u9009\u62e9 &quot;Jenkins\u4e13\u6709\u7528\u6237\u6570\u636e\u5e93&quot;\uff0c\u4e0d\u8981\u9009\u4e2d &quot;\u5141\u8bb8\u7528\u6237\u6ce8\u518c&quot;<\/li>\n<li>\u9009\u62e9 \u767b\u5f55\u7528\u6237\u53ef\u4ee5\u505a\u4efb\u4f55\u4e8b\uff0c\u9009\u4e2d Allow anonymous read access<\/li>\n<\/ul>\n<h2>\u63d2\u4ef6\u79bb\u7ebf\u5b89\u88c5<\/h2>\n<p>\u624b\u5de5\u4e0b\u8f7d(*.hpi): <a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/updates.jenkins-ci.org\/download\/plugins\/\">http:\/\/updates.jenkins-ci.org\/download\/plugins\/<\/a><\/p>\n<p>\u8fdb\u5165\uff1a[\u7cfb\u7edf\u7ba1\u7406] \/ [\u7ba1\u7406\u63d2]\u4ef6 -&gt; &quot;\u9ad8\u7ea7&quot;\uff0c\u7136\u540e\u4e0a\u4f20\u63d2\u4ef6\u8fdb\u884c\u5b89\u88c5\uff0c\u65e0\u9700\u91cd\u542f Jenkins \u63d2\u4ef6\u5373\u751f\u6548\u3002<\/p>\n<h2>\u5168\u5c40\u5de5\u5177\u914d\u7f6e<\/h2>\n<p>[\u7cfb\u7edf\u7ba1\u7406] \/ [\u5168\u5c40\u5de5\u5177\u914d\u7f6e]<\/p>\n<h3>JDK \u5b89\u88c5<\/h3>\n<ul>\n<li>\u522b\u540d\uff1aJDK-1.8.0_152<\/li>\n<li>JAVA_HOME\uff1a\/usr\/local\/java\/jdk1.8.0_152<\/li>\n<li>\u81ea\u52a8\u5b89\u88c5\uff1a\u53d6\u6d88\u6253\u52fe<\/li>\n<\/ul>\n<h3>Maven \u5b89\u88c5<\/h3>\n<ul>\n<li>\u522b\u540d\uff1aMaven-3.5.3<\/li>\n<li>JAVA_HOME\uff1a\/usr\/local\/maven<\/li>\n<li>\u81ea\u52a8\u5b89\u88c5\uff1a\u53d6\u6d88\u6253\u52fe<\/li>\n<\/ul>\n<h3>Gradle \u5b89\u88c5<\/h3>\n<ul>\n<li>\u522b\u540d\uff1aGradle-4.6<\/li>\n<li>GRADLE_HOME\uff1a\/usr\/local\/gradle-4.6<\/li>\n<li>\u81ea\u52a8\u5b89\u88c5\uff1a\u53d6\u6d88\u6253\u52fe<\/li>\n<\/ul>\n<h2>\u914d\u7f6e ANDROID_HOME<\/h2>\n<p>\u5728 [\u7cfb\u7edf\u7ba1\u7406] \/ [\u7cfb\u7edf\u8bbe\u7f6e] -&gt; &quot;\u5168\u5c40\u5c5e\u6027&quot;<\/p>\n<p>\u52fe\u9009&quot;\u73af\u5883\u53d8\u91cf&quot;\uff0c\u6dfb\u52a0\u952e\u503c\u5bf9<\/p>\n<ul>\n<li>\u952e\uff1aANDROID_HOME<\/li>\n<li>\u503c\uff1a\/data\/Android\/Android-Sdk<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u5168\u8bbe\u7f6e \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4efb\u4f55\u7528\u6237\u90fd\u53ef\u4ee5\u4f7f\u7528 Jenkins \u8fdb\u884c\u53d1\u5e03\u3002 \u53ef\u4ee5\u8fdb\u5165\u76f8\u5173\u8bbe\u7f6e\uff1a[\u7cfb\u7edf\u7ba1\u7406] \/ [\u5168 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[91],"tags":[92],"class_list":["post-816","post","type-post","status-publish","format-standard","hentry","category-ci-cd","tag-jenkins"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=816"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/816\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}