What does the scm element in your pom look like?

E.g. a correct setup can be seen here

https://github.com/jenkinsci/tfs-plugin/blob/master/pom.xml#L42

On Wed, Oct 12, 2016 at 11:05 AM, <[email protected]> wrote:

>
> Here is the output with -X option
>
> [INFO] Resuming release from phase 'scm-tag'
> [INFO] Tagging release with the label catalogic-ecx-1.0...
> [DEBUG] ScmTagPhase :: scmTagParameters remotingTag true
> [DEBUG] ScmTagPhase :: scmTagParameters scmRevision null
> [DEBUG] ScmTagPhase :: fileSet  basedir = /home/npai/catalogic-ecx-plugin;
> files = []
> [INFO] Executing: /bin/sh -c cd /home/npai/catalogic-ecx-plugin && git
> tag -F /tmp/maven-scm-105320297.commit catalogic-ecx-1.0
> [INFO] Working directory: /home/npai/catalogic-ecx-plugin
> [INFO] Executing: /bin/sh -c cd /home/npai/catalogic-ecx-plugin && git
> push neethapai:********@github.com:jenkinsci/catalogic-ecx-plugin.git
> refs/tags/catalogic-ecx-1.0
> [INFO] Working directory: /home/npai/catalogic-ecx-plugin
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 4.249 s
> [INFO] Finished at: 2016-10-12T14:00:12-04:00
> [INFO] Final Memory: 18M/491M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-release-plugin:2.5.3:prepare (default-cli) on project
> catalogic-ecx: Unable to tag SCM
> [ERROR] Provider message:
> [ERROR] The git-push command failed.
> [ERROR] Command output:
> [ERROR] ssh: Could not resolve hostname neethapai: Name or service not
> known
> [ERROR] fatal: The remote end hung up unexpectedly
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare
> (default-cli) on project catalogic-ecx: Unable to tag SCM
> Provider message:
> The git-push command failed.
> Command output:
> ssh: Could not resolve hostname neethapai: Name or service not known
> fatal: The remote end hung up unexpectedly
>
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:153)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:145)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:116)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:80)
>     at org.apache.maven.lifecycle.internal.builder.singlethreaded.
> SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.
> execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.
> launchEnhanced(Launcher.java:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.
> launch(Launcher.java:229)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.
> mainWithExitCode(Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.
> main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoFailureException: Unable to tag SCM
> Provider message:
> The git-push command failed.
> Command output:
> ssh: Could not resolve hostname neethapai: Name or service not known
> fatal: The remote end hung up unexpectedly
>
>     at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(
> PrepareReleaseMojo.java:294)
>     at org.apache.maven.plugins.release.PrepareReleaseMojo.
> execute(PrepareReleaseMojo.java:240)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> DefaultBuildPluginManager.java:134)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:207)
>     ... 20 more
> Caused by: org.apache.maven.shared.release.scm.ReleaseScmCommandException:
> Unable to tag SCM
> Provider message:
> The git-push command failed.
> Command output:
> ssh: Could not resolve hostname neethapai: Name or service not known
> fatal: The remote end hung up unexpectedly
>
>     at org.apache.maven.shared.release.phase.ScmTagPhase.
> execute(ScmTagPhase.java:136)
>     at org.apache.maven.shared.release.DefaultReleaseManager.
> prepare(DefaultReleaseManager.java:234)
>     at org.apache.maven.shared.release.DefaultReleaseManager.
> prepare(DefaultReleaseManager.java:169)
>     at org.apache.maven.shared.release.DefaultReleaseManager.
> prepare(DefaultReleaseManager.java:146)
>     at org.apache.maven.shared.release.DefaultReleaseManager.
> prepare(DefaultReleaseManager.java:107)
>     at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(
> PrepareReleaseMojo.java:286)
>     ... 23 more
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> MojoFailureException
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/3255b91a-2283-4215-baf1-93bc2ce387d8%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/3255b91a-2283-4215-baf1-93bc2ce387d8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CABffhO6hNG2GTSPqNEaPzgQfgaQADopivUROReGaMAEJz_x4ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to