{"id":5790,"date":"2016-02-06T23:45:24","date_gmt":"2016-02-06T14:45:24","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=5790"},"modified":"2016-02-07T05:44:26","modified_gmt":"2016-02-06T20:44:26","slug":"linux-%e3%81%ab-jenkins-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=5790","title":{"rendered":"Linux \u306b Jenkins \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u81ea\u52d5\u30d3\u30eb\u30c9\uff08\u3068\u81ea\u52d5\u30c6\u30b9\u30c8\uff09\u306e\u305f\u3081\u306b Jenkins \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 Ut Video Codec Suite \u306e\u3053\u3068\u3092\u8003\u3048\u308b\u3068 Windows \u304c\u5fc5\u8981\u3067\u3059\u304c\u3001Linux \u3092 master \u306b\u3057\u3066 Windows \u306f slave \u306b\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a Linux \u306e\u65b9\u3060\u3051\u9811\u5f35\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>Jenkins \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u81ea\u4f53\u306f <a href=\"https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Installing+Jenkins+on+Red+Hat+distributions\">Installing Jenkins on Red Hat distributions<\/a> \u306b\u66f8\u3044\u3066\u3042\u308b\u901a\u308a\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u30cf\u30de\u3063\u305f\u3053\u3068\u3002<\/p>\n<ul>\n<li>\u53b3\u5bc6\u306b\u306f\u30cf\u30de\u3063\u305f\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3060\u304c\u3001Jenkins \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30de\u30b7\u30f3\u306b\u30a2\u30c9\u30ec\u30b9\u3092\u8ffd\u52a0\u3067\u632f\u3063\u3066\u3001\u305d\u3061\u3089\u306e 80 \u756a\u30dd\u30fc\u30c8\u3067\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u6700\u521d\u306f\u601d\u3063\u3066\u3044\u305f\u304c\u3001Unix \u3060\u3068\u305d\u308c\u306f root \u6a29\u9650\u304c\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u306e\u3067\u3084\u3081\u305f\u3002<\/li>\n<li>\/tmp \u304c noexec \u4ed8\u304d\u3067\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u308b\u3068\u8d77\u52d5\u6642\u306b UnsatisfiedLinkError \u3067\u6b7b\u306c\u306e\u3067\u3001\/etc\/sysconfig\/jenkins \u306e\u4e2d\u3067 <code>JENKINS_JAVA_OPTIONS=\"-Djava.awt.headless=true -Djava.io.tmpdir=$JENKINS_HOME\/tmp\"<\/code> \u3068\u3057\u305f\u3002<\/li>\n<li>Apache \u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u7d4c\u7531\u3057\u3066 http:\/\/jenkins-master\/jenkins \u307f\u305f\u3044\u306a URL \u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b <a href=\"https:\/\/wiki.jenkins-ci.org\/display\/JENKINS\/Running+Jenkins+behind+Apache\">Running Jenkins behind Apache<\/a> \u306e mod_proxy \u3067\u66f8\u3044\u3066\u3042\u308b\u901a\u308a\u306b\u8a2d\u5b9a\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001OS \u304c CentOS 5 \u3067 Apache \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u306e\u3067 AllowEncodedSlashes NoDecode \u304c\u4f7f\u3048\u306a\u3044\uff08On \u304b Off \u3060\u3051\uff09\u3002\u4e0b\u306e\u65b9\u306b\u3042\u308b mod_rewrite \u3067\u66f8\u3044\u3066\u3042\u308b\u901a\u308a\u306b\u8a2d\u5b9a\u3057\u305f\u3089\u4e00\u5fdc\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u304c\u4f55\u6545\u304b\u30a2\u30af\u30bb\u30b9\u304c\u8d85\u9045\u304f\u3001\u300cJenkins \u306e\u7ba1\u7406\u300d\u30da\u30fc\u30b8\u3092\u898b\u308b\u3068\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u304c\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u306a\u3044\u3068\u8a00\u308f\u308c\u308b\u3002\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u8ae6\u3081\u3066 Jenkins \u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/li>\n<\/ul>\n<p>\u6700\u7d42\u7684\u306b \/etc\/sysconfig\/jenkins \u306e\u5909\u66f4\u70b9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u5909\u66f4\u3057\u3066\u3044\u308b\u306e\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e 8080 \u756a\u3060\u3068 Web \u30d7\u30ed\u30ad\u30b7\u306e\u30a4\u30e1\u30fc\u30b8\u304c\u3042\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<blockquote>\n<pre>JENKINS_JAVA_OPTIONS=\"-Djava.awt.headless=true -Djava.io.tmpdir=$JENKINS_HOME\/tmp\"\r\nJENKINS_PORT=\"8008\"<\/pre>\n<\/blockquote>\n<p>\u6b21\u306b\u8a8d\u8a3c\u3002\u6700\u4f4e\u9650\u306e\u8a8d\u8a3c\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3044\u3046\u8a18\u4e8b\u3092\u898b\u3064\u3064\u8a2d\u5b9a\u3002\u3053\u3061\u3089\u306f\u7279\u306b\u30cf\u30de\u308a\u30dd\u30a4\u30f3\u30c8\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002Unix \u30e6\u30fc\u30b6\u30fc\/\u30b0\u30eb\u30fc\u30d7 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 \u3092\u4f7f\u304a\u3046\u304b\u3068\u601d\u3063\u305f\u3093\u3067\u3059\u304c\u3001root \u6a29\u9650\u304c\u5fc5\u8981\u3089\u3057\u304f\u3066\u3084\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b21\u306f Windows \u3060\u2026 \u307e\u305a OS \u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u52d5\u30d3\u30eb\u30c9\uff08\u3068\u81ea\u52d5\u30c6\u30b9\u30c8\uff09\u306e\u305f\u3081\u306b Jenkins \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 Ut Video Codec Suite \u306e\u3053\u3068\u3092\u8003\u3048\u308b\u3068 Windows \u304c\u5fc5\u8981\u3067\u3059\u304c\u3001Linux \u3092 master \u306b\u3057\u3066 Windows  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-5790","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5790"}],"version-history":[{"count":5,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5790\/revisions"}],"predecessor-version":[{"id":5796,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5790\/revisions\/5796"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5790"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}