you can also mvn release:rollback and possibly delete the git tag.
or git reset to before you made the attempt and delete the git tag

On Fri, Nov 19, 2021 at 10:59 AM Mark Waite <[email protected]>
wrote:

>
>
> On Friday, November 19, 2021 at 11:28:09 AM UTC-7 Sergei Butylin wrote:
>
>> I got the message while doing “mvn release:prepare release:perform”
>>
>> We’ve been following the same steps here
>> https://wiki.jenkins.io/display/JENKINS/Hosting+Plugins and here
>> https://www.jenkins.io/doc/developer/publishing/releasing-manually/ and
>> previous releases went well.
>>
>>
>>
>> Question is how can we rollback the failed release that you can see in
>> github history here
>> https://github.com/jenkinsci/klocwork-plugin/commits/master and try do
>> 2021.3 the release again?
>>
>
> I've not had great results personally with attempting to redo a maven
> release.  However, if you've retained the directory where you performed the
> original `mvn release:prepare release:perform` you could try running `mvn
> release:perform` another time.
>
> Before attempting `mvn release:perform`, you should confirm that you have
> permission to push your release to https://repos.jenkins-ci.org/ .  I
> believe that one way to do that would be with the following commands to
> deploy a snapshot of your plugin from another working directory (don't do
> this from the directory where you attempted the previous mvn
> release:prepare release:perform):
>
> $ cd /tmp
> $ git clone https://github.com/jenkinsci/klocwork-plugin/
> $ cd klocwork-plugin
> $ mvn deploy
>
> If that succeeds, you will have deployed a snapshot version of the default
> branch to the snapshots section of repos.jenkins-ci.org
>
> If that fails, you probably need to reset your password at
> https://accounts.jenkins.io or at https://beta.accounts.jenkins.io
>
> Mark Waite
>
> --
> 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/e767789e-4596-4c99-a779-cfb0140cbdd1n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/e767789e-4596-4c99-a779-cfb0140cbdd1n%40googlegroups.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_DuvKJnLRTaP1jzbEo6rpewNDOS38vNB%3DmicQDAaFM0OkPw%40mail.gmail.com.

Reply via email to