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?

From: [email protected] <[email protected]> On Behalf Of 'Gavin Mogan' 
via Jenkins Developers
Sent: Friday, November 19, 2021 1:14 PM
To: Jenkins Developers <[email protected]>
Subject: Re: release went wrong?

where are you seeing that message? If your doing a mvn release you should have 
a a version number you provided, if your using the CD system, you should have a 
link to where its failing.

The problem is your trying to release to the snapshot repo, which jenkins 
doesn't support. I'm a little confused why the URL says 2021.3-SNAPSHOT while 
the version is 2021.3-$timestamp

On Fri, Nov 19, 2021 at 10:09 AM Sergei Butylin 
<[email protected]<mailto:[email protected]>> wrote:
Hello team,
I'm one of the maintainers of Klocwork Jenkins Plugin 
(https://github.com/jenkinsci/klocwork-plugin)
We were releasing the new version using maven plugin and got a sudden error 
during release that looks like this:
[INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time:  59.575 s
    [INFO] Finished at: 2021-11-18T16:08:19-05:00
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on 
project klocwork: Failed to deploy artifacts: Could not transfer artifact 
org.jenkins-ci.plugins:klocwork:hpi:2021.3-20211118.210816-1 from/to 
maven.jenkins-ci.org<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.jenkins-ci.org%2F&data=04%7C01%7Csbutylin%40perforce.com%7C758edf231b9a4a421a3008d9ab888e2c%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C637729425257769645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FmQYO7sIecC%2FfIK9bpq57%2Bw%2FhSdEcO6pBOA2Jkd1Eh4%3D&reserved=0>
 
(https://repo.jenkins-ci.org/snapshots/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.jenkins-ci.org%2Fsnapshots%2F&data=04%7C01%7Csbutylin%40perforce.com%7C758edf231b9a4a421a3008d9ab888e2c%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C637729425257769645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ibhzDCn3EA1HDP6JnzzYxzQuALx58QrMgFHQmuRDARY%3D&reserved=0>):
 Transfer failed for 
https://repo.jenkins-ci.org/snapshots/org/jenkins-ci/plugins/klocwork/2021.3-SNAPSHOT/klocwork-2021.3-20211118.210816-1.hpi<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepo.jenkins-ci.org%2Fsnapshots%2Forg%2Fjenkins-ci%2Fplugins%2Fklocwork%2F2021.3-SNAPSHOT%2Fklocwork-2021.3-20211118.210816-1.hpi&data=04%7C01%7Csbutylin%40perforce.com%7C758edf231b9a4a421a3008d9ab888e2c%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C637729425257779637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IXHLAMqloCegFl9gsXoI76%2FARiJOrNoKtUniqUDkB%2BQ%3D&reserved=0>
 401 Unauthorized -> [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/MojoExecutionException<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FMojoExecutionException&data=04%7C01%7Csbutylin%40perforce.com%7C758edf231b9a4a421a3008d9ab888e2c%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C637729425257789633%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=l0%2FuGtOUMX7WGnLitqjE8%2FwbRyZNFDdvibrR2osdJEw%3D&reserved=0>

However I see that that git repository was still updated with 2 commits 
(https://github.com/jenkinsci/klocwork-plugin/commits/master) though missing 
"[maven-release-plugin] prepare 
release<https://github.com/jenkinsci/klocwork-plugin/commit/4ed411006883ba7d5a656becd60d60a679e347a8>"
 commit.
As I understand that the state of repository is now inconsistent and new 
version won't appear in Jenkins Plugins Web Store now.
Could you please help us to figure out how to fix this release?

Sincerely
Sergei



This e-mail may contain information that is privileged or confidential. If you 
are not the intended recipient, please delete the e-mail and any attachments 
and notify us immediately.

--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/DM6PR20MB26660A4E5E7B2A307F496E37AD9C9%40DM6PR20MB2666.namprd20.prod.outlook.com<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjenkinsci-dev%2FDM6PR20MB26660A4E5E7B2A307F496E37AD9C9%2540DM6PR20MB2666.namprd20.prod.outlook.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Csbutylin%40perforce.com%7C758edf231b9a4a421a3008d9ab888e2c%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C637729425257789633%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=1YaanDTQWTkGwpQWtoVxF%2BzGursFqY9xIBWAukk8nek%3D&reserved=0>.
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DutHH-k408_urHprOozLh0%2Bs5xaAZhDzUM-UkAtZQBSreA%40mail.gmail.com<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjenkinsci-dev%2FCAG%253D_DutHH-k408_urHprOozLh0%252Bs5xaAZhDzUM-UkAtZQBSreA%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Csbutylin%40perforce.com%7C758edf231b9a4a421a3008d9ab888e2c%7C95b666d19a7549ab95a38969fbcdc08c%7C0%7C0%7C637729425257799626%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=55SbiBmIkH05RykRqvJ3aGjkchdnChFocPcGUFRYGhE%3D&reserved=0>.

CAUTION: This email originated from outside of the organization. Do not click 
on links or open attachments unless you recognize the sender and know the 
content is safe.



This e-mail may contain information that is privileged or confidential. If you 
are not the intended recipient, please delete the e-mail and any attachments 
and notify us immediately.

-- 
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/DM6PR20MB26662D6507CFE1E455000168AD9C9%40DM6PR20MB2666.namprd20.prod.outlook.com.

Reply via email to