Comments (16)
I am seeing the same thing. Affects a lot of our jobs.
from scm-sync-configuration-plugin.
The same thing applies for user names. We encounter problems there at the moment due to GIT creating users from Commit Messages. So i think it is basically a thing with wrong URI encoding in SCM.
from scm-sync-configuration-plugin.
I'm seeing this as well. Using SCM Sync Configuration Plugin 0.0.9 and Jenkins version 1.642.3.
Despite this bug, this plugin is rad! Thanks!
from scm-sync-configuration-plugin.
We're being affected by this bug as well.
We get this error when it fails:
Any hope for a fix?
@ip2k @Zitrax @foundatron, how do you recover from this?
from scm-sync-configuration-plugin.
I came across this issue too and found out what the problem is.
The error is in the dependency maven-scm-provider-gitexe-1.9.1.jar
Illegal character in path at index 0: "jobs
says it all. The quote at char 0 breaks the whole thing. Meanwhile this has been fixed, but sadly no current release is up (even version 1.9.4 still has the error).
I cloned (git://git.apache.org/maven-scm.git), checked out tag 1.9.4 and fixed the error in file GitStatusConsumer.java
Then recompiled this lib and pushed it into the plugin scm-sync-configuration.hpi
This solved the problem for me.
Attached you find the patch
and the precompiled jar, which can be replaced into the hpi file.
Also for simplicity I attached the fully patched 0.0.9 of this plugin.
from scm-sync-configuration-plugin.
@christau, great work, many thanks!
I'll try it out tonight.
from scm-sync-configuration-plugin.
I have the same error. Job has %2F
in name (slash from branch name - multibranch pipeline).
I create catalogue from error in checkoutConfiguration and manually commit it.
It resolves this problem, but I have to check it with new branches.
from scm-sync-configuration-plugin.
@christau I sent this request to the Maven developers. Any idea how to push it along?
from scm-sync-configuration-plugin.
Issue has been fixed in this Commit: apache/maven-scm@68eecff
Fix should take part in upcoming release of maven-scm. Please update dependency in next release of scm-sync-configuration-plugin.
from scm-sync-configuration-plugin.
@jarmoni do you know when the release is happening? Last I saw was this:
http://www.mail-archive.com/[email protected]/msg109252.html
from scm-sync-configuration-plugin.
@rodrigc No I haven't. I'm not related with maven-scm-team, just saw that issue has been fixed on Friday. I hope it won't take too long. Self-patched plugins in production-environment.....no good!
from scm-sync-configuration-plugin.
@christau Thanks for identifying the source of the problem. maven-scm-team finally released a new maven-scm-provider-gitexe 1.9.5 plugin. I updated the pom.xml here: 63a7401
In my testing, this seems to work. Can you build the plugin and verify that jobs with spaces in their names can now be backed up? I will rebuild the plugin.
@tomaswolf You previously provided this patch 2f59c9d which works around the fact that maven-scm-provider-gitexe had this bug: https://issues.apache.org/jira/browse/SCM-772
How does this fix affect the patch you provided? Is it still needed?
from scm-sync-configuration-plugin.
@rodrigc, I just built a new HPI and i'm able to create and delete jobs with spaces in the name.
from scm-sync-configuration-plugin.
@mterzo thanks for the feedback. Just to confirm, before the latest patch for SCM-772, were you unable to create/delete jobs with spaces in the name?
from scm-sync-configuration-plugin.
Yeah just checked out master and had no problem.
from scm-sync-configuration-plugin.
Hopefully a739a54 should fix the problem with Git
from scm-sync-configuration-plugin.
Related Issues (20)
- Support for Perforce
- Configure Git SCM with credentials HOT 13
- Access to GIT Repository broken with Jenkins 2.30 HOT 2
- URL wrongly manipulated
- Active Maintainer HOT 9
- Renaming or Deleting a job doesn't work with SVN HOT 3
- SCM not working HOT 2
- Overwrite main config file while reload from scm HOT 3
- promotion configurations from the Promoted Builds Plugin are not synced
- Questions regarding checkout directory
- Cut a new release HOT 6
- not-a-git-repo
- Manual Synchronization includes dont show up
- One Question Regarding the Plugin HOT 1
- Issue tracking should be in one place only HOT 1
- Strange output in footer HOT 7
- github branch option main
- Hi! Is there anybody?
- SCM sync configuration plugin stopped working for new version of Jenkins 2.332.1 HOT 16
- For anyone still want to use this plugin with Jenkins 2.277 and above HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scm-sync-configuration-plugin.