409 errr on plugin release

93 views
Skip to first unread message

priya jagyasi

unread,
May 21, 2022, 2:10:44 PM5/21/22
to Jenkins Developers
Hi,

My plugin failed to release with this error:
{ "errors" : [ { "status" : 409, "message" : "The repository 'releases' rejected the resolution of an artifact 'releases:lightstep-plugin/lightstep-incident-response/1.0999999-SNAPSHOT/lightstep-incident-response-1.0999999-20220521.175048-1.hpi,' due to conflict in the snapshot release handling policy." } ] }
Failed to deploy artifacts: Could not transfer artifact lightstep-plugin:lightstep-incident-response:hpi:1.0999999-20220521.175048-1 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): transfer failed for https://repo.jenkins-ci.org/releases/lightstep-plugin/lightstep-incident-response/1.0999999-SNAPSHOT/lightstep-incident-response-1.0999999-20220521.175048-1.hpi, status: 409

Can anyone please tell me what this implies? What am I doing wrong, please help.

Thank you,
Priya

Daniel Beck

unread,
May 21, 2022, 4:21:57 PM5/21/22
to Jenkins Developers


> On 21. May 2022, at 20:10, priya jagyasi <jagyasi...@gmail.com> wrote:
>
> Can anyone please tell me what this implies? What am I doing wrong, please help.

You are trying to release a plugin using JEP-229 CD without having it configured correctly as documented at https://www.jenkins.io/doc/developer/publishing/releasing-cd/

At a glance, the changelist property in the pom.xml looks wrong, but I recommend you review everything.

Jesse Glick

unread,
May 23, 2022, 8:18:54 AM5/23/22
to jenkin...@googlegroups.com
On Sat, May 21, 2022 at 4:21 PM 'Daniel Beck' via Jenkins Developers <jenkin...@googlegroups.com> wrote:
You are trying to release a plugin using JEP-229 CD without having it configured correctly

priya jagyasi

unread,
May 24, 2022, 1:09:52 PM5/24/22
to Jenkins Developers
Hi Jesse,

could you please let me know what needs to be done to enable CD on my plugin. 

Jesse Glick

unread,
May 24, 2022, 1:46:16 PM5/24/22
to jenkin...@googlegroups.com
On Tue, May 24, 2022 at 1:09 PM priya jagyasi <jagyasi...@gmail.com> wrote:
could you please let me know what needs to be done to enable CD on my plugin.

priya jagyasi

unread,
May 24, 2022, 1:56:12 PM5/24/22
to Jenkins Developers
I have it in my maven config file https://github.com/jenkinsci/lightstep-incident-response-plugin/blob/main/.mvn/maven.config. Are you expecting this "<changelist>999999-SNAPSHOT</changelist> in the <properties> section, removing <revision>:" . Apologies, this is my first jenkins plugin release.

Jesse Glick

unread,
May 24, 2022, 3:52:35 PM5/24/22
to jenkin...@googlegroups.com

priya jagyasi

unread,
May 25, 2022, 1:47:00 PM5/25/22
to Jenkins Developers
This https://github.com/jenkinsci/lightstep-incident-response-plugin/pull/6 is for fully automated versioning. In our plugin, we do not want fully automated versioning. Would the pom file still need any correction to make plugin CD enabled? 

On Wednesday, May 25, 2022 at 1:22:35 AM UTC+5:30 Jesse Glick wrote:

priya jagyasi

unread,
May 25, 2022, 2:11:41 PM5/25/22
to Jenkins Developers
I see that Github action released 1.038 version of plugin ~40 minutes ago here https://github.com/jenkinsci/lightstep-incident-response-plugin/releases/tag/1.038.va_c2181133b_79.
However, on the plugins site, I still see 1.036 version https://plugins.jenkins.io/lightstep-incident-response/#documentation. Am I missing something? I believe if it is released from Github action, the plugin should have an updated version?

Gavin Mogan

unread,
May 25, 2022, 2:15:37 PM5/25/22
to Jenkins Developers
Be patient man. Not only do things take time to run but people have other responsibilities than just Jenkins. Within 3 hours of a release things should be fully updated.

As for releasing, I don't think you can have ci releasing and manual version numbers. Its one or the other


--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/4fa7eeff-1610-44cb-b98d-27b14d533345n%40googlegroups.com.

priya jagyasi

unread,
May 25, 2022, 2:27:34 PM5/25/22
to Jenkins Developers
Thanks for the information.
Reply all
Reply to author
Forward
0 new messages