{"id":2784,"date":"2020-10-19T20:19:12","date_gmt":"2020-10-19T12:19:12","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=2784"},"modified":"2020-11-07T14:09:20","modified_gmt":"2020-11-07T06:09:20","slug":"osxbrewjenkins","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=2784","title":{"rendered":"[Osx]Brew+Jenkins\u5b89\u88c5\u6559\u7a0b"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>\/\/ 1.\u5b89\u88c5brew\n\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install.sh)\"\n\n\/\/ 2.\u5b89\u88c5Jenkins\nbrew install jenkins\n\n\/\/ 3.Jenkins\u5f00\u653e\u5916\u7f51\u8bbf\u95ee\uff1a\nvi \/Users\/admin\/Library\/LaunchAgents\/homebrew.mxcl.jenkins.plist\n\u5c06127.0.0.1 \u4fee\u6539\u4e3a0.0.0.0\n\n\/\/ 4.\u542f\u52a8 Jenkins\nbrew services start jenkins\nbrew services stop jenkins\n\n\/\/ 5.\u5fd8\u4e86\u5bc6\u7801\u600e\u4e48\u529e\uff1f\nvi \/Users\/username\/.jenkins\/users\/admin\/config.xml\n\u628a\n&lt;hudson.security.HudsonPrivateSecurityRealm_-Details>\n&lt;passwordHash>#jbcrypt:$2a$10$MiIVR0rr\/UhQBqT.bBq0QehTiQVqgNpUGyWW2nJObaVAM\/2xSQdSq&lt;\/passwordHash>\n&lt;\/hudson.security.HudsonPrivateSecurityRealm_-Details>\n\u66ff\u6362\u6389\u539f\u6765\u7684\uff0c\u5c31\u4e3a123456\u4e86\n\n\/\/ 6.Jenkins\u6267\u884c\u65f6\uff0c\u62a5\u547d\u4ee4command not found\u600e\u4e48\u529e\uff1f\u5728shell\u4e4b\u524d\u6267\u884c\nsource \/etc\/profile <\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2784"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2784"}],"version-history":[{"count":6,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2784\/revisions"}],"predecessor-version":[{"id":2854,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2784\/revisions\/2854"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}