Azure-devops-docs: Jenkins Queue Job fails with URISyntaxException: Illegal character in scheme name at index 3

Created on 24 Jan 2019  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

In the last step, we trigger a Jenkins build from Azure DevOps. While the exact same build works fine over and over again when it is getting triggered from inside the Jenkins itself, I get an error every time it happens from Azure DevOps with the following message:

2019-01-24T16:37:07.5464485Z FATAL: Illegal character in scheme name at index 3: [email protected]:v3/XamarinDevOps/Java-Demo/MyShuttleCalc
2019-01-24T16:37:07.5465310Z java.net.URISyntaxException: Illegal character in scheme name at index 3: [email protected]:v3/XamarinDevOps/Java-Demo/MyShuttleCalc
2019-01-24T16:37:07.5465676Z    at java.net.URI$Parser.fail(URI.java:2848)
2019-01-24T16:37:07.5465793Z    at java.net.URI$Parser.checkChars(URI.java:3021)
2019-01-24T16:37:07.5465856Z    at java.net.URI$Parser.parse(URI.java:3048)
2019-01-24T16:37:07.5465915Z    at java.net.URI.<init>(URI.java:588)
2019-01-24T16:37:07.5466157Z    at java.net.URI.create(URI.java:850)
2019-01-24T16:37:07.5466804Z Caused: java.lang.IllegalArgumentException: Illegal character in scheme name at index 3: [email protected]:v3/XamarinDevOps/Java-Demo/MyShuttleCalc
2019-01-24T16:37:07.5467941Z    at java.net.URI.create(URI.java:852)
2019-01-24T16:37:07.5468122Z    at hudson.plugins.tfs.CommitParameterAction.canOriginateFrom(CommitParameterAction.java:44)
2019-01-24T16:37:07.5468247Z    at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1069)
2019-01-24T16:37:07.5468613Z    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1187)
2019-01-24T16:37:07.5468761Z    at hudson.scm.SCM.checkout(SCM.java:504)
2019-01-24T16:37:07.5468828Z    at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
2019-01-24T16:37:07.5469119Z    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
2019-01-24T16:37:07.5469326Z    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
2019-01-24T16:37:07.5469465Z    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
2019-01-24T16:37:07.5469548Z    at hudson.model.Run.execute(Run.java:1810)
2019-01-24T16:37:07.5469778Z    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
2019-01-24T16:37:07.5469900Z    at hudson.model.ResourceController.execute(ResourceController.java:97)
2019-01-24T16:37:07.5469971Z    at hudson.model.Executor.run(Executor.java:429)
2019-01-24T16:37:07.5470194Z Archiving artifacts
2019-01-24T16:37:07.5470337Z Recording results... JUnit (1 file) JaCoCo (30 files). Compressing... Done.
2019-01-24T16:37:07.5470457Z Finished: FAILURE

Looks like a problem with the Git repo URL, mh?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

devopprod doc-bug

Most helpful comment

Try to remove git@ from your repo URL. It worked for me.

All 3 comments

Try to remove git@ from your repo URL. It worked for me.

That did the trick for me as well, thank you, @kurisa12! I have created a new screenshot, if anyone wants to replace it. We should also mention in the docs that one should only copy the part AFTER git@ from the repo URL...

screen shot 2019-01-28 at 17 14 22

The docs have been updated with this information. It should be live within a few days. Thanks very much for reporting it, and for the screen shot!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Naphier picture Naphier  Â·  3Comments

letmaik picture letmaik  Â·  3Comments

EM1L picture EM1L  Â·  3Comments

csutorasr picture csutorasr  Â·  3Comments

adnanebrahimi picture adnanebrahimi  Â·  3Comments