I think your URL format is wrong. Doesn't seem similar to https://github.com/jenkinsci/buildtriggerbadge-plugin/blob/master/pom.xml#L40 (notice the colon vs. slash).
Also, in general for that kind of issue you probably want to check some examples among the hundreds of existing plugins.
Cheers
Does the advice in this thread help?
https://groups.google.com/d/msg/jenkinsci-dev/8LJapvieXlo/SwXcaA8fCQAJ
> On 08.10.2016, at 10:31, Shitij Goyal <goyal...@gmail.com> wrote:
>
> Hi,
> I have just built a new Jenkins plugin to upload files to Slack.
> github.com/jenkinsci/slack-uploader-plugin
>
> But when I am running the maven command to release it I'm getting the following error :-
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project SlackBuilder: Unable to commit files
> Provider message:
> The git-push command failed.
> Command output:
> ssh: Could not resolve hostname github.com:jenkinsci: nodename nor servname provided, or not known
> fatal: Could not read from remote repository.
>
> I have added the proper ssh keys and have made the Pr to the jenkins infa team which has been merged.
> My origin is set as follows (g...@github.com:jenkinsci/slack-uploader-plugin.git) and I am able to push it normally. But I am not able to push it using ssh. I have added the username and password in the settings.xml file but to no avail. A proper head hurting moment. Please help.
>
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b9fad6a6-905d-452d-bc7c-d493701ab320%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/433D8298-CFEC-430C-95DA-BBBFC0600A3B%40beckweb.net.
Are you on windows or a Unix variant? How did you setup your keys for github?
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/a1fd740b-665a-4b91-9590-b3aa3b1c2a37%40googlegroups.com.
On 10 Oct 2016, at 20:33, Shitij Goyal <goyal...@gmail.com> wrote:So, I was able to solve the problem of git. But a new error has cropped up.Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:slack-uploader:hpi:1.3 from/to maven.jenkins-ci.org (http://maven.jenkins-ci.org:8081/content/repositories/releases): Connect to maven.jenkins-ci.org:8081 [maven.jenkins-ci.org/199.193.196.24] failed: Operation timed out.Maven execution failed, exit code: '1'at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)Please help in the debugging! This occurs when the artifact is being uploaded. The hpi file seems to have uploaded but pom file is failing.