2016-05-14 20 views
2

SCM Sync設定プラグインがインストールされています。私はジェンキンスジョブのバックアップを保持するリポジトリを作成しました。 作成されたジョブでは、ブックマークのソースコード管理でリポジトリURLと資格情報を与えました。 成功したジョブの後、私はリポジトリにコミットを見たことがありません。 このアラートのみが右下隅に表示されます:「SCM同期ステータス:Wed May 11 10:53:34 EDT 2016:ファイルをSCMリポジトリにチェックインする際にエラーが発生しました。 私はここで言うようにジェンキンでロガーを設定します:https://wiki.jenkins-ci.org/display/JENKINS/ScmSyncConfig+Troubleshootings が表示されます。私はステップ「JenkinsからあなたのScmリポジトリにアクセスできることを確認する」で説明したのと同じようにしました。 "jenkinsプロセス所有者のid_rsa wホームディレクトリ"と呼ばれる個人/秘密鍵を設定しました。 /hudson.scmを編集できます。 :Jenkins SCM Sync設定プラグインが動作しない

<hudson.scm.SubversionSCM_-DescriptorImpl plugin="[email protected]"> 
    <generation>1</generation> 
    <mayHaveLegacyPerJobCredentials>false</mayHaveLegacyPerJobCredentials> 
    <workspaceFormat>8</workspaceFormat> 
    <validateRemoteUpToVar>false</validateRemoteUpToVar> 
    <storeAuthToDisk>false</storeAuthToDisk> 
</hudson.scm.SubversionSCM_-DescriptorImpl> 

でも効果は同じでした。ビルドの成功、scmリポジトリへのファイルのチェックイン中にエラーが発生しました。ロガーの情報がありません。

ここで私はコンソール出力に表示される内容貼り付けられます:

Building on master in workspace /home/tomcat/.jenkins/jobs/ScmSyncConfigurationTest/workspace 
Cloning the remote Git repository 
Cloning repository [email protected]:~~/jenkinsbackup.git 
> git init /home/tomcat/.jenkins/jobs/ScmSyncConfigurationTest/workspace # timeout=10 
Fetching upstream changes from [email protected]:~~/jenkinsbackup.git 
> git --version # timeout=10 
using GIT_SSH to set credentials 
> git -c core.askpass=true fetch --tags --progress [email protected]:~~/jenkinsbackup.git +refs/heads/*:refs/remotes/origin/* 
> git config remote.origin.url [email protected]:~~/jenkinsbackup.git # timeout=10 
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 
> git config remote.origin.url [email protected]:~~/jenkinsbackup.git # timeout=10 
Fetching upstream changes from [email protected]:~~/jenkinsbackup.git 
using GIT_SSH to set credentials 
> git -c core.askpass=true fetch --tags --progress [email protected]:~~/jenkinsbackup.git +refs/heads/*:refs/remotes/origin/* 
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10 
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 
Checking out Revision 82c782cf29258f58a630d0ce2728bf8c85d4e03d (refs/remotes/origin/master) 
> git config core.sparsecheckout # timeout=10 
> git checkout -f 82c782cf29258f58a630d0ce2728bf8c85d4e03d 
> git rev-list 82c782cf29258f58a630d0ce2728bf8c85d4e03d # timeout=10 
[workspace] $ /bin/sh -xe /usr/share/apache-tomcat-latest/temp/hudson1626031519696649678.sh 
+ echo hello world 
hello world 
Finished: SUCCESS 

私がスキップされているものがあるならば、私は任意の手掛かりを与えて私を助けるためにあなたの努力をいただければ幸いです。

+0

このプラグインを使用することはできませんでしたが、最終的にバージョン0.0.9のバグのためにプラグインを使用しようとしなくなりました。ジェンキンスを再起動すると、ジェンキンサイト全体が白い画面になり、手動で設定を元に戻して修正する必要があります。それは小さな問題ではない。 – TheEllis

答えて

0

SCM Sync configuration pluginの主なバグは、名前に空白を含むジョブがありました。issue JENKINS 24686

それはちょうどあなたの特定の問題は、新しいリリースで解決しない場合は、あなたがチェックすることができ0.10.0バージョン(released 7 hours ago

に固定してしまいました。

関連する問題