1

Hudson で Maven Release Plugin を使用しようとしています。リリースを実行すると、次のエラーが表示されます。

Provider message:
The svn command failed.
Command output:
svn: Commit failed (details follow):
svn: OPTIONS of 'https://servername/svn/project/trunk/testapp': Server certificate verification failed: issuer is not trusted (https://servername)

自己署名証明書を使用しています。

私はいくつかのことを試しました:

  1. svn listビルドを実行しているユーザーとして実行します
  2. svn-settings.xmlwithを追加~/.scm: trustServerCerttrue に設定

これらのいずれも問題を解決しませんでした。この問題を解決する方法についてのアイデアはありますか?

4

1 に答える 1

1

私がそれを解決した方法は次のとおりです。

  1. サーバーにログインしました (コマンドライン - SSH)
  2. プレーンな svn チェックアウトを実行しました:

      svn checkout https://someserverwithinvalidcertificate
      Error validating server certificate for 'https://someserverwithinvalidcertificate:443':
      - The certificate is not issued by a trusted authority. Use the
       fingerprint to validate the certificate manually!
    Certificate information:
     - Hostname: someserverwithinvalidcertificate
     - Valid: from Jul  1 12:14:08 2013 GMT until Jul  1 12:14:08 2014 GMT
     - Issuer: ???, ????, ????, ????, ??
     - Fingerprint: fb:44:5a:80:......c8:b0:8b:2f:d8:c4
    (R)eject, accept (t)emporarily or accept (p)ermanently? p
    svn: OPTIONS of 'https://someserverwithinvalidcertificate': 200 OK               (https://someserverwithinvalidcertificate)
    

証明書を永続的に受け入れた後、hudson リリースは問題なく実行されました。

于 2013-10-15T12:58:47.013 に答える