Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãã¼ã«ã«ã§åã éçºãé²ãã¦ãããã¼ã ã§ãgitã§ã½ã¼ã¹ã管çãã¦ããã¨ãã¾ãã åä½ç¢ºèªã¯ï¼ã¤ã®ãµã¼ãã§å®æ½ãããã æçµçãªã¤ã¡ã¼ã¸ã¨ãã¦ã¯ãdevelopãã©ã³ããæ´æ°ããããã³ã«ãµã¼ãã«ãããã¤ããããããªç°å¢ãæ§ç¯ãããï¼ ã¾ãä»åã¯ãjenkinsãå°å ¥ãã¦ã¿ããã¨ã«ãã¾ãã
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key sudo yum install jenkins Jenkinsã®è¨å®Jenkinsã¯ãè¨å®ãå¤æ´ããªãã¾ã¾ã§ããã°ã8080çªãã¼ãããã¢ã¯ã»ã¹ã§ãã¾ãã ãããå¥ã®ãã¼ãçªå·ããã¢ã¯ã»ã¹ãããå ´åã¯ã/etc/sysconfig/jenkins ãã¡ã¤ã«ãæ¸ãæããå¿ è¦ãããã¾ãã80çªãã¼ãã§éä¿¡ãããå ´åã¯ãJENKINS_PORTã«80ã¨ããå¤ãè¨å®ãã¾ãã
Jenkinsã使ã£ã¦ãã¦ãã³ãã³ä¸ä¾¿ã ã¨æã£ã¦ããã®ãã Apacheã®èªè¨¼ãèµ°ã£ãå¾ã«ãJenkinsã«ã¯ãå¥ã«ããä¸åº¦ãã°ã¤ã³ããªãã¨ãããªãã¨ããç¹ã§ããã èªåãã使ã£ã¦ããªãã¨ã使ã人ãéããã¦ããã¨ãã¯ãapacheã®èªè¨¼ã ãã«ãã¦ã Jenkinsã¯ãã«ãªã¼ãã³ã«ãã¦ããã°ãããã§ããã©ãï¼ï¼¾ï¼¾ï¼ï¼ ãããªãã¨æã£ã¦å²ã«ä½ã«ããã¦ããªãã£ãã®ã§ãããJenkinsã®ãã©ã°ã¤ã³ä¸è¦§ãããå¥ä»¶ã§ãã©ã°ã¤ã³ãæ¢ãã¦ããã¨ãã«âã®ãã¨ã解æ¶ãã¦ãããããªæ°é ã®ãããã©ã°ã¤ã³ãè¦ã¤ããã®ã§ã試ãã«è¨å®ãã¦ã¿ãã ã¨ãããããã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¦ã·ã¹ãã è¨å®ç»é¢ã¨ãé©å½ã«è¦ã¦ããããã¦ã¼ã¶ã¼æ å ±ã®ã¨ããã«ãHTTP Header by reverse proxyããå¢ãã¦ãã ããããããªãã®ã§ãã°ã°ã£ã¦ã¿ãã¨ãapacheã®è¨å®ãã¡ã¤ã«ã«Headeræ å ±ã«X-Forwarded-Us
1. æ¦è¦ CentOSã«ã¤ã³ã¹ãã¼ã«ããJenkinsãã³ãã³ãã©ã¤ã³ããææ°çã«ã¢ãããã¼ãããæé ã示ãã 2. åä½ç°å¢ CentOS 6.5 Jenkins 1.579 3. æé èãæ¹ã¨ãã¦ã¯ã/usr/lib/jenkins/jenkins.warã«ææ°çã®warãã¡ã¤ã«ãé ç½®ãã¦åèµ·åããã ãã§ããã $ wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war $ sudo service jenkins stop $ sudo rm /usr/lib/jenkins/jenkins.war $ sudo mv jenkins.war /usr/lib/jenkins/jenkins.war $ sudo service jenkins start
Jenkinsã®åææ§ç¯ãããããã£ï¼ãã¨ã¾ã¨ãã¦å®æ½ãã¾ãã ã»CentOS ã« Jenkinsãã¤ã³ã¹ãã¼ã«ã ã»ããã©ã«ããã¼ããå¤æ´ãURLãå¤æ´ã ã»ã¦ã¼ã¶è¨å®ã ã»ãã©ã°ã¤ã³ã®è¿½å ã ã»ä»ããã«ã¦ã§ã¢ã¨ãã¹ã¯ã¼ãã®ä¸å 管ç ã¨ããæãã§ãã ãã¤ã³ã¹ãã¼ã«æé ã å ¬å¼ããã¥ã¡ã³ãã¯ãã¡ãã https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions ããåããæãã®ã§ãã®ã¾ã¾å®æ½ãã¦ã大ä¸å¤«ãã§ãä»åã¯rpmã§ã¤ã³ã¹ãã¼ã«ãã¾ãã 1, Javaã®ã¤ã³ã¹ãã¼ã« 2, Jenkinsã®ã¤ã³ã¹ãã¼ã« 3, Jenkinsã¢ã¯ã»ã¹URLã®å¤æ´ 4, ãã°ã¤ã³èªè¨¼ã®è¿½å 5, ã¦ã¼ã¶ã¼(ï¼èªå)ã®è¿½å 6, ãã°ã¤ã³èªè¨¼ã®è¨å®å¤æ´ 7, ãã©ã°ã¤ã³ã®è¿½å 8, çªå¤ç·¨ï¼ä»ã
ç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³ã®æé ã®ãã¡ããããã¤ã«ç¦ç¹ãå½ã¦ã¦ããã¹ãã®å®è¡ãããGitã«ããHerokuç°å¢ã¸ã®ãããã¤ã¾ã§ãèªååããæ¹æ³ã解説ãMacåãã®Growlã使ã£ã¦å®è¡çµæãéç¥ããæ¹æ³ã説æã â åå é£è¼ INDEX 次å â é£è¼ç¬¬1åãJenkinsã使ã£ã¦ã¿ãããã§ã¯Macï¼OS Xï¼ï¼Linuxï¼Windowsã¸ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ãã第2åãJenkinsã§ãã¹ããå®è¡ãã¦ã¿ãããã§ã¯ã¦ããããã¹ãããã³ã¤ã³ãã°ã¬ã¼ã·ã§ã³ãã¹ããä½æããJenkinsããå®è¡ããææ³ã解説ãããããã¾ã§èªãã§ããã ããèªè ã®çãããJenkinsãã¤ã³ã¹ãã¼ã«ãã¦èªåãªãã®ä½¿ãæ¹ã模索ãã¦ãããã¨ã¨æãã ãã¦ãé£è¼ç¬¬1åã§ãç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³ã¨ã¯æ¬¡ã®ãããªæé ã®ç¹°ãè¿ãã ãã¨èª¬æããã®ãè¦ãã¦ããã ãããï¼ ããã°ã©ãã³ã° ãã¹ãã®å®è¡ ãªãã¡ã¯ã¿ãªã³ã° ããã㤠ä»å
â [tDiary][github][ci] tDiary ã® CI ç°å¢ã Jenkins ãã travis-ci ã«ç§»è¡ãã ä»ã¾ã§ tDiary ã® CI ã¯ãªã¬ã Jenkins ã§ç¨æãã http://ci.hsbt.org ã使ã£ã¦ãããã ãã©ãgithub 㧠ruby ãªã½ããã¦ã§ã¢ãªã http://travis-ci.org ãä¸çª cool ã¨ããåã誰ã¨ãªãèããã®ã§ç§»è¡ãã¦ã¿ãã ãã£ãã㨠http://travis-ci.org ã« github ã¢ã«ã¦ã³ãã§ãã°ã¤ã³ã㦠token ãåå¾ å ¥æãã token ã github ã®ããã¸ã§ã¯ãè¨å® - Service hook ã«ãã travis ã®é ç®ã«ã³ãããã¦ã¼ã¶ã¼åãå ¥åãã¦ãã ããã¸ã§ã¯ãã«ã¼ãã« .travis.yml ãé ç½®ãymlã®ãªãã·ã§ã³ã¯ https://github.com/
ç¶ãã¦ãéçºããã¢ããªã®ç»é²ãè¡ãã¾ããã¢ããªã®ç»é²ã§ã¯ã1ãã¢ããªåãèå¥åãªã©ã®ç»é²ãã2ããããã¸ã§ãã³ã°ãããã¡ã¤ã«ãä½æããã¦ã³ãã¼ããã¤ã³ã¹ãã¼ã«ãã¾ãã ãããã®æºåãçµãã£ãããApp Storeã¸å ¬éããããã®ã¢ããªéçºãããã±ã¼ã¸ã³ã°ãã¢ãããã¼ãã¨ãã£ãæµãã«ãªãã¾ãã ãJenkins Xcode Integration Pluginãã§ãã«ããèªåå ãã®ã¢ããªå ¬éã¾ã§ã®ä½æ¥ã®ãã¡ãããã¤ããJenkinsã«ãã£ã¦èªååãããã¨ã§ç¶ç¶çã«ã¢ããªãå ¬éã§ããããã«ãªãã¾ããé常ãã¢ããªã®ãã«ããããã±ã¼ã¸ã³ã°ã¯Xcodeããè¡ããã¨ã«ãªãã¾ãããJenkinsããå®è¡ããå ´åã«ã¯Xcodeã®ã³ãã³ãã©ã¤ã³ãã¼ã«ã§ãããxcodebuildããªã©ã使ã£ã¦å¦çãè¡ãã¾ãã Jenkinsã¸ã§ãããã·ã§ã«ãèµ·åãã¦xcodebuildãªã©ã®ã³ãã³ããç´æ¥å®è¡ãããããJe
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}