1

Jenkins ジョブで svn2git を実行して、Git リポジトリをローカル サーバー上の SVN ディレクトリと定期的に同期しようとしています。

ジョブが失敗し、次のメッセージが出力されています

C:\GitDirectory>svn2git --rebase 
command failed:
2>&1 git svn fetch
Error validating server certificate for 'https://machinename:8443':
 - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: machinename
 - Valid: from Nov 19 09:07:49 2008 GMT until Nov 17 09:07:49 2018 GMT
 - Issuer: machinename
 - Fingerprint: 53:ba:1d:75:fd:0c:cd:7e:87:24:93:ba:28:32:11:2c:a9:8e:a6:b7
Certificate problem.
(R)eject, accept (t)emporarily or accept (p)ermanently? RA layer request failed: PROPFIND request failed on '/svn/directory': PROPFIND of '/svn/directory': Server certificate verification failed: issuer is not trusted (https://machinename:8443) at /usr/lib/perl5/site_perl/Git/SVN.pm line 148

Jenkins は、ローカル管理者ユーザー アカウントで Windows で実行されています。

この同じアカウントを使用して、コマンド プロンプトから svn2git --rebase を実行し、証明書を永続的に受け入れました。

コマンドプロンプトで後続の svn2git --rebase を実行してもこのメッセージは表示されませんが、Jenkins ジョブを介して svn2git を実行しようとすると、まだメッセージが表示されます。

Jenkins にこの証明書を永久に受け入れさせる方法についてのアイデアはありますか?

4

1 に答える 1