git tags cannot take spaces IIRC pick a name without a space Cheers, Raihaan
On Thu, Mar 19, 2020 at 3:26 PM selva vignesh <[email protected]> wrote: > [INFO] Scanning for projects... > > [INFO] > > [INFO] -------------------< io.jenkins.plugins:zohosprints > >------------------- > > [INFO] Building Zoho Sprints 1.0 > > [INFO] --------------------------------[ hpi > ]--------------------------------- > > [INFO] > > [INFO] --- maven-release-plugin:2.5.3:prepare (default-cli) @ zohosprints > --- > > [INFO] Resuming release from phase 'scm-tag' > > [INFO] Tagging release with the label beta release... > > [INFO] Executing: /bin/sh -c cd > /Users/selva-5820/jenkinsgithubrepo/zohosprints-plugin && git tag -F > /var/folders/z4/7mg5vgwd1jb4zj9p61kckypdwhyjwq/T/maven-scm-1664433616.commit > 'beta release' > > [INFO] Working directory: > /Users/selva-5820/jenkinsgithubrepo/zohosprints-plugin > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 1.666 s > > [INFO] Finished at: 2020-03-19T12:52:30+05:30 > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) > on project zohosprints: Unable to tag SCM > > [ERROR] Provider message: > > [ERROR] The git-tag command failed. > > [ERROR] Command output: > > [ERROR] fatal: 'beta release' is not a valid tag name. > > [ERROR] > > [ERROR] -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [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 > > After the all change getting error like this. what might be the git-tag. > I gave as *beta release* > Kindly assist > On Mon, Mar 16, 2020 at 7:26 PM Slide <[email protected]> wrote: > >> You need to have a -SNAPSHOT version in your pom.xml. The version for the >> release will be asked for during the release process. See >> https://github.com/jenkinsci/email-ext-plugin/blob/master/pom.xml#L20 for >> an example. >> >> On Mon, Mar 16, 2020 at 5:45 AM selva vignesh <[email protected]> >> wrote: >> >>> Hi team, >>> When i am performing release getting below error can anyone please >>> assist me. >>> >>> I've added *Artifactory Credentials for Maven. * >>> >>> *mvn release:prepare release:perform* >>> >>> >>> [INFO] Scanning for projects... >>> >>> [INFO] >>> >>> [INFO] -------------------< io.jenkins.plugins:zohosprints >>> >------------------- >>> >>> [INFO] Building Zoho Sprints 1.1 >>> >>> [INFO] --------------------------------[ hpi >>> ]--------------------------------- >>> >>> [INFO] >>> >>> [INFO] --- maven-release-plugin:2.5.3:prepare (default-cli) @ >>> zohosprints --- >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [INFO] BUILD FAILURE >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [INFO] Total time: 1.994 s >>> >>> [INFO] Finished at: 2020-03-16T18:11:02+05:30 >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [ERROR] Failed to execute goal >>> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare >>> (default-cli) on project zohosprints: You don't have a SNAPSHOT project >>> in the reactor projects list. -> [Help 1] >>> >>> [ERROR] >>> >>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>> the -e switch. >>> >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> >>> [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/f5184842-53d4-4d8c-be29-bcbc8a5f4321%40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-dev/f5184842-53d4-4d8c-be29-bcbc8a5f4321%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Website: http://earl-of-code.com >> >> -- >> 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/CAPiUgVeexZrvEkzRXM517z_5c%3D24X9VpqMStv5%3DfkX4CNBwueg%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVeexZrvEkzRXM517z_5c%3D24X9VpqMStv5%3DfkX4CNBwueg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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/CAOVVkpm0W1KrR-OitXV-ZB_Sgi_T3z_cxuW3XCOyCD%2B3tRkWbA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkpm0W1KrR-OitXV-ZB_Sgi_T3z_cxuW3XCOyCD%2B3tRkWbA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAFoxvgx9Hufrzv76RPh%2BMHn-LtuomaOV4Ys3%2BXQEpyFN-VE9_Q%40mail.gmail.com.
