Further to Gavin's advice I would ensure that the tag matches the version
number of the plugin release you are making so that future people can
easily see what the source code looked like for, say, v1.2 of the plugin
release.

Richard

On Thu, 19 Mar 2020, 8:32 PM 'Gavin Mogan' via Jenkins Developers, <
[email protected]> wrote:

> Googling a bit after reading the git tag man page like it suggested.
> https://git-scm.com/docs/git-check-ref-format
>
> Tag really should be single unique ASCII word.
>
> So "beta" might work once, but you really want "1.1.0-beta" or something.
>
> If it contains alpha or beta it'll go into the experimental update center
> -
> https://jenkins.io/doc/developer/publishing/releasing-experimental-updates/
>
> On Thu., Mar. 19, 2020, 12:27 a.m. 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/CAG%3D_DutP4Sw-2EFqc%3DsZkFrFo2RhmwnNG0R5jAbv%3D7WNsL9VyA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DutP4Sw-2EFqc%3DsZkFrFo2RhmwnNG0R5jAbv%3D7WNsL9VyA%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/CAAy0hwcmMwxoanyoeGG-HR10hGvxZyJDv-%2Bg6n0xh15HykYr%3DA%40mail.gmail.com.

Reply via email to