[JIRA] [scm-sync-configuration-plugin] (JENKINS-24686) scm-sync-configuration fails if job name contains whitespace

3 views
Skip to first unread message

daved@alum.mit.edu (JIRA)

unread,
Aug 26, 2015, 9:31:04 PM8/26/15
to jenkinsc...@googlegroups.com
Dave DeCaprio commented on Bug JENKINS-24686
 
Re: scm-sync-configuration fails if job name contains whitespace

I see this with the jenkins official docker build - 1.609.2

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

hdoedens@gmail.com (JIRA)

unread,
Sep 24, 2015, 5:24:03 AM9/24/15
to jenkinsc...@googlegroups.com

doronshai@gmail.com (JIRA)

unread,
Dec 6, 2015, 4:19:03 AM12/6/15
to jenkinsc...@googlegroups.com

Why this pull request is not part of the plugin?

rodrigc@FreeBSD.org (JIRA)

unread,
Dec 16, 2015, 6:41:03 PM12/16/15
to jenkinsc...@googlegroups.com
Craig Rodrigues closed an issue as Fixed
 

Fixed in 0.0.9

Jenkins / Bug JENKINS-24686
Change By: Craig Rodrigues
Status: Open Closed
Resolution: Fixed

tbaker@circle.com (JIRA)

unread,
Dec 17, 2015, 9:05:10 AM12/17/15
to jenkinsc...@googlegroups.com
Trevor Baker reopened an issue
 

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

Change By: Trevor Baker
Resolution: Fixed
Status: Closed Reopened

cobexer@gmail.com (JIRA)

unread,
Jan 14, 2016, 9:19:03 AM1/14/16
to jenkinsc...@googlegroups.com
Christoph Obexer assigned an issue to Craig Rodrigues
Change By: Christoph Obexer
Assignee: Frédéric Camblor Craig Rodrigues

jenkins@johnkoerner.net (JIRA)

unread,
Feb 12, 2016, 3:20:05 PM2/12/16
to jenkinsc...@googlegroups.com
John Koerner commented on Bug JENKINS-24686
 
Re: scm-sync-configuration fails if job name contains whitespace

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}}

jenkins@johnkoerner.net (JIRA)

unread,
Feb 12, 2016, 3:20:18 PM2/12/16
to jenkinsc...@googlegroups.com
John Koerner edited a comment on Bug JENKINS-24686
I am also seeing this on 0.0.9 on Windows:

{ { quote} Feb 12, 2016 9:38:16 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
... 6 more {quote } }

zaiboot@gmail.com (JIRA)

unread,
Mar 1, 2016, 12:09:06 PM3/1/16
to jenkinsc...@googlegroups.com

zaiboot@gmail.com (JIRA)

unread,
Mar 1, 2016, 12:09:09 PM3/1/16
to jenkinsc...@googlegroups.com
Edgar Madrigal commented on Bug JENKINS-24686
 
Re: scm-sync-configuration fails if job name contains whitespace

This is still happening in my instance with linux:

Unable to find source-code formatter for language: bash. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
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

zaiboot@gmail.com (JIRA)

unread,
Mar 1, 2016, 12:12:02 PM3/1/16
to jenkinsc...@googlegroups.com
Edgar Madrigal edited a comment on Bug JENKINS-24686
This is still happening in my instance with linux:

{code:bash}

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/"
{code}

Error from jenkins log
!jenkins-log-error.png!

SCM Sync Configuration plugin = 0.0.9. will try to rename projects with %20 with - and figure out if this will work. [~estcr14] works with me in the same project. 

zaiboot@gmail.com (JIRA)

unread,
Mar 1, 2016, 12:17:14 PM3/1/16
to jenkinsc...@googlegroups.com
Edgar Madrigal edited a comment on Bug JENKINS-24686
This is still happening in my instance with linux:

{code:bash}
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/"
{code}

Error from jenkins log
!jenkins-log-error.png!

SCM Sync Configuration plugin = 0.0.9. 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.

zaiboot@gmail.com (JIRA)

unread,
Mar 7, 2016, 9:57:03 AM3/7/16
to jenkinsc...@googlegroups.com
Edgar Madrigal edited a comment on Bug JENKINS-24686
This is still happening in my instance with linux:

{code: language= bash}

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/"
{code}

Error from jenkins log
!jenkins-log-error.png!

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.

zaiboot@gmail.com (JIRA)

unread,
Mar 7, 2016, 9:59:02 AM3/7/16
to jenkinsc...@googlegroups.com

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

rmartinolich@absolute.com (JIRA)

unread,
Mar 11, 2016, 6:16:03 PM3/11/16
to jenkinsc...@googlegroups.com

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.

zaiboot@gmail.com (JIRA)

unread,
Mar 12, 2016, 7:10:01 AM3/12/16
to jenkinsc...@googlegroups.com

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.pl (JIRA)

unread,
Apr 1, 2016, 6:01:02 PM4/1/16
to jenkinsc...@googlegroups.com

We're seeing that problem too.

Plugin version 0.0.9, Jenkins version 1.643.

Any hope for a fix?

rodrigc@FreeBSD.org (JIRA)

unread,
Aug 4, 2016, 2:51:03 AM8/4/16
to jenkinsc...@googlegroups.com
Change By: Craig Rodrigues
Status: Reopened Resolved
Resolution: Fixed
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

martin.spielmann@pingunaut.com (JIRA)

unread,
Aug 4, 2016, 3:08:03 AM8/4/16
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages