3
我在哈德森上使用maven release插件。我正在嘗試發佈該項目。一切正常,直到發佈過程嘗試執行網站部署。當它試圖做到這一點,maven失敗,並與scp連接拒絕錯誤。Maven Site部署失敗,SCP連接被拒絕 - Windows
這裏是日誌:
Using private key: C:\hudson\.ssh\id_rsa
scp://somehost.somecompany.com/c:/hudson/userContent/some_javadoc/1.9.16/ - Session: Connection refused
scp://somehost.somecompany.com/c:/hudson/userContent/some_javadoc/1.9.16/ - Session: Disconnecting
scp://somehost.somecompany.com/c:/hudson/userContent/some_javadoc/1.9.16/ - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error uploading site Embedded error:
The host was not known and was not accepted by the configuration: somehost.somecompany.com reject HostKey: somehost.somecompany.com
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------
[INFO] Total time: 31 seconds [INFO] Finished at: Fri Nov 19 10:19:36 CST 2010
[INFO] Final Memory: 83M/199M
[INFO] ------------------------------------------------------------------------
我有服務器在settings.xml的憑據。我也在pom.xml的分發管理部分指定了這個站點。
任何有關這方面的幫助將不勝感激。
原因:org.apache.maven.shared.release.ReleaseExecutionException:Maven執行失敗,退出代碼:'1'引起:org.apache.maven.shared.release.exec.MavenExecutorException:Maven執行失敗,退出代碼:'1'這些是拋出 – 2010-11-19 16:41:58
權利的例外,它告訴你什麼 - 因爲SCM失敗 – 2010-11-19 16:49:00
有沒有辦法從發佈過程中跳過網站:delpoy? – 2010-11-19 17:09:27