Dont know why this error is coming because snapshot build is successful 
before triggering the release build. Not sure where it is looking for 
snapshot

On Tuesday, January 24, 2017 at 12:35:18 AM UTC+5:30, Indra Gunawan 
(ingunawa) wrote:
>
> Look at the error “*You don't have a SNAPSHOT project in the reactor 
> projects list. -> [Help 1]*”
>
>  
>
> Your pom does not have SNAPSHOT version so nothing for release plugin to 
> convert to release version.
>
>  
>
>  
>
> *From: *<jenkins...@googlegroups.com <javascript:>> on behalf of Mahendra 
> <mahendra....@gmail.com <javascript:>>
> *Reply-To: *"jenkins...@googlegroups.com <javascript:>" <
> jenkins...@googlegroups.com <javascript:>>
> *Date: *Monday, January 23, 2017 at 10:59 AM
> *To: *Jenkins Users <jenkins...@googlegroups.com <javascript:>>
> *Subject: *Unable to Perform Maven Release build with Github on Jenkins 
> 2.7.X
>
>  
>
> Hi All, 
>
> I am trying to perform release build on github via Jenkins 2.7.2 is below 
> two ways. Facing the differnet ERROR each time
>
>  
>
> Case1; I am using maven relelease plugin (m2 plugin). My githbu 
> authentication is ssh based authentication. the snapshot build is 
> successful without any issue.
>
>            To have release build, i have added scm tags in the pom file. 
> Now when I am performing maven release build, it is failing on release step 
> saying that unable to perform git clone command.
>
>            Generally we see such issue when the authentication with github 
> is not well. In my case, the same jenkins snapshot build works fine which 
> means the username given in jenkins configuration is fine.
>
>            when it comes for release builds, it fails like that. 
>
>             Do we need to specific again ssh keys in order to perform 
> release build on github?
>
>  
>
>  
>
> Case2: I am trying to releease using Artifactory Release management plugin
>
>            Again, the snapshot build works fine, but when I perform 
> Artifactory staging release. It fails with below error
>
>  
>
> *[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli) on 
> project abc: You don't have a SNAPSHOT project in the reactor projects list. 
> -> [Help 1]*
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli) 
> on project abc: You don't have a SNAPSHOT project in the reactor projects 
> list.
>
>         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:108)
>
>         at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
>
>         at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>
>         at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
>
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
>
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>
>         at 
> org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
>
>         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.lau 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-use...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/cf955f95-4a9d-45fb-831b-7eb36e1d0d3d%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/cf955f95-4a9d-45fb-831b-7eb36e1d0d3d%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 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/af564407-a07a-4a1b-bee2-0147bdac6c13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to