Git Jenkins SCM同步配置插件不工作

Git Jenkins SCM同步配置插件不工作,git,jenkins,jenkins-plugins,Git,Jenkins,Jenkins Plugins,我安装了SCM同步配置插件。我创建了存储库来保存jenkins作业的备份。 在创建的作业中,在书签源代码管理中,我给出了存储库URL和凭据。 作业成功后,我在存储库中没有看到任何提交。 只有此警报出现在右下角:“SCM同步状态:Wed May 11 10:53:34 EDT 2016:将文件签入SCM存储库时出错。” 我在詹金斯设置了伐木工人,正如这里所说: 但没有人出现。我做的和步骤中描述的一样:“确保您可以从Jenkins访问Scm存储库”。 我设置了名为“id_rsa w jenkins进

我安装了SCM同步配置插件。我创建了存储库来保存jenkins作业的备份。 在创建的作业中,在书签源代码管理中,我给出了存储库URL和凭据。 作业成功后,我在存储库中没有看到任何提交。 只有此警报出现在右下角:“SCM同步状态:Wed May 11 10:53:34 EDT 2016:将文件签入SCM存储库时出错。” 我在詹金斯设置了伐木工人,正如这里所说: 但没有人出现。我做的和步骤中描述的一样:“确保您可以从Jenkins访问Scm存储库”。 我设置了名为“id_rsa w jenkins进程所有者的主目录”的个人/私钥。 我可以编辑/hudson.scm.:

<hudson.scm.SubversionSCM_-DescriptorImpl plugin="subversion@2.5.7">
  <generation>1</generation>
  <mayHaveLegacyPerJobCredentials>false</mayHaveLegacyPerJobCredentials>
  <workspaceFormat>8</workspaceFormat>
  <validateRemoteUpToVar>false</validateRemoteUpToVar>
  <storeAuthToDisk>false</storeAuthToDisk>
</hudson.scm.SubversionSCM_-DescriptorImpl>
如果有什么我跳过了,我将非常感谢您帮助我提供任何线索。

我遇到的主要错误是作业名称中有空格:

它刚刚在0.10.0版本中得到修复()


您可以检查新版本中是否存在特定问题。

我也无法使此插件正常工作,但由于版本0.0.9中存在错误,最终停止尝试使用它。一旦重新启动jenkins,整个jenkins站点将只是一个白色屏幕,您必须手动恢复配置以进行修复。这不是一个小问题。
Building on master in workspace /home/tomcat/.jenkins/jobs/ScmSyncConfigurationTest/workspace
Cloning the remote Git repository
Cloning repository git@bitbucket.org:~~/jenkinsbackup.git
 > git init /home/tomcat/.jenkins/jobs/ScmSyncConfigurationTest/workspace # timeout=10
Fetching upstream changes from git@bitbucket.org:~~/jenkinsbackup.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git -c core.askpass=true fetch --tags --progress git@bitbucket.org:~~/jenkinsbackup.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git@bitbucket.org:~~/jenkinsbackup.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@bitbucket.org:~~/jenkinsbackup.git # timeout=10
Fetching upstream changes from git@bitbucket.org:~~/jenkinsbackup.git
using GIT_SSH to set credentials 
 > git -c core.askpass=true fetch --tags --progress git@bitbucket.org:~~/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