I am using the maven release plugin on hudson. I am trying to release a project. Everything works until the release process tries to deploy the site. When he tries to do this, maven fails with a communication error with the error.
Here is the log:
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] ------------------------------------------------------------------------
I have a server and credentials in the settings.xml file. I also indicated the site in the pom.xml distribution control section.
Any help on this would be appreciated.
source
share