kaakaa Blog

この世は極楽 空にはとんぼ

オライリーjenkins本

githubssh設定も何故だか分からないけど、上手くいってしまったので先に進めていきます。

元々jenkinsの起動は出来ていたので、その章は飛ばし、ツール群の設定ということでMavenJDKも書籍の通り設定。

んで、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
まぁ当たり前か。

設定したJDKインストーラの項目を削除し、再ビルド。

またエラー。

でも、成果物はできている。


コンソール出力すると

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
&#65533;e&#65533;X&#65533;g&#65533;&#65533;&#65533;&#642;&#65533;&#1745;&#65533;&#65533;&#65533;
&#65533;&#65533;&#65533;&#661;&#65533;&#65533;&#65533;&#1745;&#65533;&#65533;&#65533;
Finished: FAILURE

webtestでfailureしとる。
なんか設定必要だったんだろうか。

時間が来たので、今日はこの辺で。