私はJenkinsのマスター(小さなLinuxボックスで動作しています)とJenkinsのスレーブ(「正しい」XPマシンで動作しています)を持っています。jenkinsのスレーブはどのsettings.xmlを使用していますか?
Windows XPのすべてのスレーブですべてのjibを実行するように設定しました。
残念ながら、ビルドはそのスレーブ上で実行されるたびに、ビルドは次のエラーにより失敗します。
ERROR: Ignore Problem expanding maven opts macros org.jenkinsci.plugins.tokenmacro.TokenMacro
Found mavenVersion 3.0.3 from file jar:file:/E:/java-ext/apache-maven-3.0.3/lib/maven-core-3.0.3.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs
ERROR: Echec à la lecture des POMs
hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\Autocat at [email protected]:ndx-PC-winXP
at hudson.FilePath.act(FilePath.java:752)
at hudson.FilePath.act(FilePath.java:738)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:817)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:617)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:429)
at hudson.model.Run.run(Run.java:1374)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:467)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Failure to find fr.perigee.java:java-parent:pom:0.0.6 in http://tinkerpop.com/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of tinkerpop has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 10
私が使用しているため、このエラーは、これらの成果物を含むリポジトリの悪い定義によるものである知っていますリポジトリはsettings.xmlで定義されています。だから、私の質問は非常に簡単です:どのようにsettings.xmlファイルがJenkinsのスレーブによって使用されるのか定義できますか?
ありがとう、私はスレーブサービスをローカルユーザーと設定として実行するように設定しました。最終的にC:/users/myuser/.m2/のxmlが取得されました。その他:デフォルトのシステムユーザで、他の設定がない場合は、Mavenインストールフォルダのsettings.xmlが使用されます。 – Rob