オライリーjenkins本
githubのssh設定も何故だか分からないけど、上手くいってしまったので先に進めていきます。
元々jenkinsの起動は出来ていたので、その章は飛ばし、ツール群の設定ということでMaven、JDKも書籍の通り設定。
んで、githubから持ってきたgame-of-lifeのジョブをビルドした時にエラー発生。
JDK installation skipped: Unknown CPU name: mac os x
エラーメッセージで検索してみると、JDKインストーラはMacで動かないらしい、と。
Jenkins users - Automated install of JDK doesn't seem to work on a Mac
まぁ当たり前か。
またエラー。
でも、成果物はできている。
コンソール出力すると
Downloaded: http://repo1.maven.org/maven2/com/googlecode/lambdaj/lambdaj/2.3.1/lambdaj-2.3.1.jar (127 KB at 50.2 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] gameoflife ........................................ SUCCESS [52.144s] [INFO] gameoflife-build .................................. SUCCESS [17.241s] [INFO] gameoflife-core ................................... SUCCESS [8.361s] [INFO] gameoflife-webservice ............................. SUCCESS [0.826s] [INFO] gameoflife-web .................................... SUCCESS [36.288s] [INFO] gameoflife-cli .................................... SUCCESS [0.636s] [INFO] gameoflife-webtests ............................... FAILURE [34.026s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:29.919s [INFO] Finished at: Thu Mar 15 21:49:49 JST 2012 [INFO] Final Memory: 15M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project gameoflife-webtests: Could not resolve dependencies for project com.wakaleo.gameoflife:gameoflife-webtests:jar:0.8.8-SNAPSHOT: The following artifacts could not be resolved: net.thucydides:thucydides-core:jar:0.7.12-SNAPSHOT, net.thucydides:thucydides-junit:jar:0.7.12-SNAPSHOT: Could not find artifact net.thucydides:thucydides-core:jar:0.7.12-SNAPSHOT in repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :gameoflife-webtests �e�X�g���ʂ�ۑ��� ���ʕ���ۑ��� Finished: FAILURE
webtestでfailureしとる。
なんか設定必要だったんだろうか。
時間が来たので、今日はこの辺で。