0

コマンドを使用してhudson.warを展開したMacシステムに、Webサーバーから独立したHudsonを統合しています

java -jar hudson-2.2.1.war

そして、ハドソンコンソールから私のプロジェクトをハドソンと統合しました。

シェルスクリプト部分に以下のコマンドを入力

cp -rf /HomeDirectory/TestProject

次に、「今すぐビルド」をクリックしてプロジェクトをビルドします

しかし、次のエラーが発生しました

[INFO] Scanning for projects...
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM /Users/abc/.hudson/jobs/testproject/workspace/pom.xml: /Users/abc/.hudson/jobs/testproject/workspace/pom.xml (No such file or directory) @ 

このログから私が理解したのは、システム内に pom.xml を含む「.hudson」フォルダーが見つからないため、pom.xml が見つからないということです (.hudson フォルダーは、 hudson.war の展開時)

この問題を解決する方法を教えてもらえますか???

私が間違っていることは何ですか?

4

0 に答える 0