Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24686

scm-sync-configuration fails if job name contains whitespace

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Debian Wheezy
      Jenkins runs in standalone mode
      Oracle Java 7

      scm-sync-configuration plugin is configured to sync to a Git repository. If a job contains a whitespace in its name, then the plugin fails to commit the configuration of that job.

      Sep 11, 2014 11:21:19 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
      Checking in SCM files ...
      Sep 11, 2014 11:21:19 AM FINER org.apache.maven.scm.manager.ScmManager checkIn
      THROW
      org.apache.maven.scm.ScmException: Exception while executing SCM command.
      at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
      at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
      at org.apache.maven.scm.provider.git.AbstractGitScmProvider.checkin(AbstractGitScmProvider.java:217)
      at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:415)
      at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:397)
      at org.apache.maven.scm.manager.AbstractScmManager.checkIn(AbstractScmManager.java:423)
      at hudson.plugins.scm_sync_configuration.SCMManipulator.checkinFiles(SCMManipulator.java:242)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:208)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:29)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:143)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:141)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.maven.scm.ScmException: Error while executing command.
      at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:122)
      at org.apache.maven.scm.provider.git.gitexe.command.checkin.GitCheckInCommand.executeCheckInCommand(GitCheckInCommand.java:129)
      at org.apache.maven.scm.command.checkin.AbstractCheckInCommand.executeCommand(AbstractCheckInCommand.java:54)
      at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
      ... 14 more
      Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error inside systemOut parser
      at org.codehaus.plexus.util.cli.CommandLineUtils$1.call(CommandLineUtils.java:188)
      at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:107)
      at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74)
      at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:118)
      ... 17 more
      Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 0: "jobs/OXUpdater%20Core/config.xml"
      at java.net.URI.create(URI.java:859)
      at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolveURI(GitStatusConsumer.java:251)
      at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolvePath(GitStatusConsumer.java:232)
      at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.consumeLine(GitStatusConsumer.java:138)
      at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:190)
      at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:135)
      Caused by: java.net.URISyntaxException: Illegal character in path at index 0: "jobs/OXUpdater%20Core/config.xml"
      at java.net.URI$Parser.fail(URI.java:2829)
      at java.net.URI$Parser.checkChars(URI.java:3002)
      at java.net.URI$Parser.parseHierarchical(URI.java:3086)
      at java.net.URI$Parser.parse(URI.java:3044)
      at java.net.URI.<init>(URI.java:595)
      at java.net.URI.create(URI.java:857)
      ... 5 more

      Sep 11, 2014 11:21:19 AM SEVERE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
      [checkinFiles] Error while checkin : Exception while executing SCM command.
      Sep 11, 2014 11:21:19 AM FINER hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
      THROW
      hudson.plugins.scm_sync_configuration.exceptions.LoggableException: Error while checking in file to scm repository
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:214)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:29)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:143)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:141)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)

          [JENKINS-24686] scm-sync-configuration fails if job name contains whitespace

          Fixed in 0.0.9

          Craig Rodrigues added a comment - Fixed in 0.0.9

          Trevor Baker added a comment -

          I am still seeing this issue with 0.0.9

          Dec 17, 2015 1:52:57 PM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
          Checking in SCM files ...
          Dec 17, 2015 1:52:57 PM FINER org.apache.maven.scm.manager.ScmManager checkIn
          THROW
          org.apache.maven.scm.ScmException: Exception while executing SCM command.
          	at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
          	at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
          	at org.apache.maven.scm.provider.git.AbstractGitScmProvider.checkin(AbstractGitScmProvider.java:217)
          	at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:415)
          	at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:397)
          	at org.apache.maven.scm.manager.AbstractScmManager.checkIn(AbstractScmManager.java:423)
          	at hudson.plugins.scm_sync_configuration.SCMManipulator.checkinFiles(SCMManipulator.java:241)
          	at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:223)
          	at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32)
          	at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148)
          	at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          	at java.lang.Thread.run(Thread.java:745)
          Caused by: org.apache.maven.scm.ScmException: Error while executing command.
          	at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:122)
          	at org.apache.maven.scm.provider.git.gitexe.command.checkin.GitCheckInCommand.executeCheckInCommand(GitCheckInCommand.java:129)
          	at org.apache.maven.scm.command.checkin.AbstractCheckInCommand.executeCommand(AbstractCheckInCommand.java:54)
          	at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
          	... 14 more
          Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error inside systemOut parser
          	at org.codehaus.plexus.util.cli.CommandLineUtils$1.call(CommandLineUtils.java:188)
          	at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:107)
          	at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74)
          	at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:118)
          	... 17 more
          Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 0: "jobs/SQS%20Metrics/config.xml"
          	at java.net.URI.create(URI.java:852)
          	at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolveURI(GitStatusConsumer.java:251)
          	at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolvePath(GitStatusConsumer.java:232)
          	at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.consumeLine(GitStatusConsumer.java:138)
          	at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:190)
          	at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:135)
          Caused by: java.net.URISyntaxException: Illegal character in path at index 0: "jobs/SQS%20Metrics/config.xml"
          	at java.net.URI$Parser.fail(URI.java:2848)
          	at java.net.URI$Parser.checkChars(URI.java:3021)
          	at java.net.URI$Parser.parseHierarchical(URI.java:3105)
          	at java.net.URI$Parser.parse(URI.java:3063)
          	at java.net.URI.<init>(URI.java:588)
          	at java.net.URI.create(URI.java:850)
          	... 5 more
          
          

          Trevor Baker added a comment - I am still seeing this issue with 0.0.9 Dec 17, 2015 1:52:57 PM FINE hudson.plugins.scm_sync_configuration.SCMManipulator Checking in SCM files ... Dec 17, 2015 1:52:57 PM FINER org.apache.maven.scm.manager.ScmManager checkIn THROW org.apache.maven.scm.ScmException: Exception while executing SCM command. at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63) at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291) at org.apache.maven.scm.provider.git.AbstractGitScmProvider.checkin(AbstractGitScmProvider.java:217) at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:415) at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:397) at org.apache.maven.scm.manager.AbstractScmManager.checkIn(AbstractScmManager.java:423) at hudson.plugins.scm_sync_configuration.SCMManipulator.checkinFiles(SCMManipulator.java:241) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:223) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang. Thread .run( Thread .java:745) Caused by: org.apache.maven.scm.ScmException: Error while executing command. at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:122) at org.apache.maven.scm.provider.git.gitexe.command.checkin.GitCheckInCommand.executeCheckInCommand(GitCheckInCommand.java:129) at org.apache.maven.scm.command.checkin.AbstractCheckInCommand.executeCommand(AbstractCheckInCommand.java:54) at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59) ... 14 more Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error inside systemOut parser at org.codehaus.plexus.util.cli.CommandLineUtils$1.call(CommandLineUtils.java:188) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:107) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74) at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:118) ... 17 more Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 0: "jobs/SQS%20Metrics/config.xml" at java.net.URI.create(URI.java:852) at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolveURI(GitStatusConsumer.java:251) at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolvePath(GitStatusConsumer.java:232) at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.consumeLine(GitStatusConsumer.java:138) at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:190) at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:135) Caused by: java.net.URISyntaxException: Illegal character in path at index 0: "jobs/SQS%20Metrics/config.xml" at java.net.URI$Parser.fail(URI.java:2848) at java.net.URI$Parser.checkChars(URI.java:3021) at java.net.URI$Parser.parseHierarchical(URI.java:3105) at java.net.URI$Parser.parse(URI.java:3063) at java.net.URI.<init>(URI.java:588) at java.net.URI.create(URI.java:850) ... 5 more

          John Koerner added a comment - - edited

          I am also seeing this on 0.0.9 on Windows:

          Feb 12, 2016 9:38:16 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
          Checking in SCM files ...
          Feb 12, 2016 9:38:16 AM FINER org.apache.maven.scm.manager.ScmManager checkIn
          THROW
          org.apache.maven.scm.ScmException: Exception while executing SCM command.
          at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
          at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
          at org.apache.maven.scm.provider.git.AbstractGitScmProvider.checkin(AbstractGitScmProvider.java:217)
          at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:415)
          at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:397)
          at org.apache.maven.scm.manager.AbstractScmManager.checkIn(AbstractScmManager.java:423)
          at hudson.plugins.scm_sync_configuration.SCMManipulator.checkinFiles(SCMManipulator.java:241)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:223)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148)
          at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145)
          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
          at java.util.concurrent.FutureTask.run(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
          Caused by: org.apache.maven.scm.ScmException: Error while executing command.
          at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:122)
          at org.apache.maven.scm.provider.git.gitexe.command.checkin.GitCheckInCommand.executeCheckInCommand(GitCheckInCommand.java:129)
          at org.apache.maven.scm.command.checkin.AbstractCheckInCommand.executeCommand(AbstractCheckInCommand.java:54)
          at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
          ... 15 more
          Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error inside systemOut parser
          at org.codehaus.plexus.util.cli.CommandLineUtils$1.call(CommandLineUtils.java:188)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:107)
          at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74)
          at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:118)
          ... 18 more
          Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 0: "jobs/ProjectName%20x86/config.xml"
          at java.net.URI.create(Unknown Source)
          at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolveURI(GitStatusConsumer.java:251)
          at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolvePath(GitStatusConsumer.java:232)
          at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.consumeLine(GitStatusConsumer.java:138)
          at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:190)
          at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:135)
          Caused by: java.net.URISyntaxException: Illegal character in path at index 0: "jobs/ProjectName%20x86/config.xml"
          at java.net.URI$Parser.fail(Unknown Source)
          at java.net.URI$Parser.checkChars(Unknown Source)
          at java.net.URI$Parser.parseHierarchical(Unknown Source)
          at java.net.URI$Parser.parse(Unknown Source)
          at java.net.URI.<init>(Unknown Source)
          ... 6 more

          John Koerner added a comment - - edited I am also seeing this on 0.0.9 on Windows: Feb 12, 2016 9:38:16 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator Checking in SCM files ... Feb 12, 2016 9:38:16 AM FINER org.apache.maven.scm.manager.ScmManager checkIn THROW org.apache.maven.scm.ScmException: Exception while executing SCM command. at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63) at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291) at org.apache.maven.scm.provider.git.AbstractGitScmProvider.checkin(AbstractGitScmProvider.java:217) at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:415) at org.apache.maven.scm.provider.AbstractScmProvider.checkIn(AbstractScmProvider.java:397) at org.apache.maven.scm.manager.AbstractScmManager.checkIn(AbstractScmManager.java:423) at hudson.plugins.scm_sync_configuration.SCMManipulator.checkinFiles(SCMManipulator.java:241) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:223) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.maven.scm.ScmException: Error while executing command. at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:122) at org.apache.maven.scm.provider.git.gitexe.command.checkin.GitCheckInCommand.executeCheckInCommand(GitCheckInCommand.java:129) at org.apache.maven.scm.command.checkin.AbstractCheckInCommand.executeCommand(AbstractCheckInCommand.java:54) at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59) ... 15 more Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error inside systemOut parser at org.codehaus.plexus.util.cli.CommandLineUtils$1.call(CommandLineUtils.java:188) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:107) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74) at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:118) ... 18 more Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 0: "jobs/ProjectName%20x86/config.xml" at java.net.URI.create(Unknown Source) at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolveURI(GitStatusConsumer.java:251) at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.resolvePath(GitStatusConsumer.java:232) at org.apache.maven.scm.provider.git.gitexe.command.status.GitStatusConsumer.consumeLine(GitStatusConsumer.java:138) at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:190) at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:135) Caused by: java.net.URISyntaxException: Illegal character in path at index 0: "jobs/ProjectName%20x86/config.xml" at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) ... 6 more

          Edgar Madrigal added a comment - - edited

          This is still happening in my instance with linux:

          jenkins@<pc name>:~$ cat /etc/*-release
          DISTRIB_ID=Ubuntu
          DISTRIB_RELEASE=15.04
          DISTRIB_CODENAME=vivid
          DISTRIB_DESCRIPTION="Ubuntu 15.04"
          NAME="Ubuntu"
          VERSION="15.04 (Vivid Vervet)"
          ID=ubuntu
          ID_LIKE=debian
          PRETTY_NAME="Ubuntu 15.04"
          VERSION_ID="15.04"
          HOME_URL="http://www.ubuntu.com/"
          SUPPORT_URL="http://help.ubuntu.com/"
          BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
          

          Error from jenkins log

          SCM Sync Configuration plugin = 0.0.9. I will try to rename projects with %20 with - and figure out if this will work. estcr14 works with me in the same project.
          This is the name of a view not a job.

          Edgar Madrigal added a comment - - edited This is still happening in my instance with linux: jenkins@<pc name>:~$ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=15.04 DISTRIB_CODENAME=vivid DISTRIB_DESCRIPTION= "Ubuntu 15.04" NAME= "Ubuntu" VERSION= "15.04 (Vivid Vervet)" ID=ubuntu ID_LIKE=debian PRETTY_NAME= "Ubuntu 15.04" VERSION_ID= "15.04" HOME_URL= "http: //www.ubuntu.com/" SUPPORT_URL= "http: //help.ubuntu.com/" BUG_REPORT_URL= "http: //bugs.launchpad.net/ubuntu/" Error from jenkins log SCM Sync Configuration plugin = 0.0.9. I will try to rename projects with %20 with - and figure out if this will work. estcr14 works with me in the same project. This is the name of a view not a job.

          To workaround this issue I had to:
          cd $JENKINS_HOME/scm-sync-configuration/checkoutConfiguration/
          git add -A
          git commit -m 'Manual sync due to white spaces'
          git push origin master
          cd $JENKINS_HOME
          rm scm-sync-configuration.fail.log

          a restart of jenkins is required as well.
          hope this helps

          Edgar Madrigal added a comment - To workaround this issue I had to: cd $JENKINS_HOME/scm-sync-configuration/checkoutConfiguration/ git add -A git commit -m 'Manual sync due to white spaces' git push origin master cd $JENKINS_HOME rm scm-sync-configuration.fail.log a restart of jenkins is required as well. hope this helps

          That fix worked for me, but as soon as a new project with a space in the title was created the errors came back, and this time even manually running a git update wouldn't fix it. I eventually had to nuke the old git repository and then change all the project titles so that they didn't have any whitespace.

          Richard Martinolich added a comment - That fix worked for me, but as soon as a new project with a space in the title was created the errors came back, and this time even manually running a git update wouldn't fix it. I eventually had to nuke the old git repository and then change all the project titles so that they didn't have any whitespace.

          I forgot to mention that there's some weird behaviour. If I do a change once I push and restart. Sometimes it doesn't register the change. I had to do a couple of changes and then it loads. Nuking the plug in completely also is a work around for me

          Edgar Madrigal added a comment - I forgot to mention that there's some weird behaviour. If I do a change once I push and restart. Sometimes it doesn't register the change. I had to do a couple of changes and then it loads. Nuking the plug in completely also is a work around for me

          Peter Pakos added a comment -

          We're seeing that problem too.

          Plugin version 0.0.9, Jenkins version 1.643.

          Any hope for a fix?

          Peter Pakos added a comment - We're seeing that problem too. Plugin version 0.0.9, Jenkins version 1.643. Any hope for a fix?

          Craig Rodrigues added a comment - Fixed in https://github.com/jenkinsci/scm-sync-configuration-plugin/commit/a739a54d0c6d65c500245a46b0861cd6f1ba1cbf

          Thank you so much!

          Martin Spielmann added a comment - Thank you so much!

            rodrigc Craig Rodrigues
            kleini Marcus Klein
            Votes:
            23 Vote for this issue
            Watchers:
            35 Start watching this issue

              Created:
              Updated:
              Resolved: