Giter VIP home page Giter VIP logo

Comments (16)

Zitrax avatar Zitrax commented on July 17, 2024

I am seeing the same thing. Affects a lot of our jobs.

from scm-sync-configuration-plugin.

falkzilm avatar falkzilm commented on July 17, 2024

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.

foundatron avatar foundatron commented on July 17, 2024

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.

peterpakos avatar peterpakos commented on July 17, 2024

We're being affected by this bug as well.

We get this error when it fails:

screen shot 2016-04-01 at 22 52 29

Any hope for a fix?

@ip2k @Zitrax @foundatron, how do you recover from this?

from scm-sync-configuration-plugin.

christau avatar christau commented on July 17, 2024

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.

peterpakos avatar peterpakos commented on July 17, 2024

@christau, great work, many thanks!

I'll try it out tonight.

from scm-sync-configuration-plugin.

mr-martins avatar mr-martins commented on July 17, 2024

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.

rodrigc avatar rodrigc commented on July 17, 2024

@christau I sent this request to the Maven developers. Any idea how to push it along?

http://mail-archives.apache.org/mod_mbox/maven-dev/201605.mbox/%3CCAG%3DrPVf6GP3tgXoaAGdru6bQ_CLONo%2BGQUcLPRWpDmP8KqGM7w%40mail.gmail.com%3E

from scm-sync-configuration-plugin.

jarmoni avatar jarmoni commented on July 17, 2024

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.

rodrigc avatar rodrigc commented on July 17, 2024

@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.

jarmoni avatar jarmoni commented on July 17, 2024

@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.

rodrigc avatar rodrigc commented on July 17, 2024

@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.

mterzo avatar mterzo commented on July 17, 2024

@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.

rodrigc avatar rodrigc commented on July 17, 2024

@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.

mterzo avatar mterzo commented on July 17, 2024

Yeah just checked out master and had no problem.

from scm-sync-configuration-plugin.

rodrigc avatar rodrigc commented on July 17, 2024

Hopefully a739a54 should fix the problem with Git

from scm-sync-configuration-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.