Thank you all for chiming in.

Turns out the release was failing because I mistakenly placed 
extensions.xml in *<root>/.mvn/.mvn/extensions.xml* rather than 
*<root>/.mvn/extensions.xml 
🤦*

Merging this pull request 
<https://github.com/jenkinsci/buildkite-plugin/pull/5> resulted in the 
successful release.

Many thanks to Valentin <https://github.com/jonesbusy> for kindly pointing 
it out to me 
<https://github.com/jenkinsci/buildkite-plugin/pull/4#issuecomment-3162576565>
.

On Thursday, 7 August 2025 at 23:16:03 UTC+10 [email protected] wrote:

> 409 is 'conflict'
>
> Sadly maven doesn't propagate the full error message, but in Artifactory 
> terms, 409 usually means one of:
>
> - The artifact/version already exists in a repository where immutability 
> is set (quite likely for releases)
> - Artifactory is detecting that the group and id of the artifact being 
> deployed does not match the group/id location it is being deployed to (and 
> enforcement is enabled)
>
>
>
> On Thu, Aug 7, 2025 at 12:04 PM 'Isaac Su' via Jenkins Developers <
> [email protected]> wrote:
>
>> Hello,
>>
>> First time publishing a plugin here. I'm getting stuck on an error and 
>> not sure how to proceed. Hopefully someone can help.
>>
>> I have configured the plugin for CD 
>> <https://github.com/jenkinsci/buildkite-plugin/pull/2> and enabled CD 
>> for the plugin 
>> <https://github.com/jenkins-infra/repository-permissions-updater/pull/4570>
>> .
>>
>> When I go to run the *maven-cd → release* job 
>> <https://github.com/jenkinsci/buildkite-plugin/actions/runs/16792435667/job/47556544655>,
>>  
>> I get the following error 
>> <https://github.com/jenkinsci/buildkite-plugin/actions/runs/16792435667/job/47556544655#step:4:165>
>> :
>>
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-deploy-plugin:3.1.4:deploy 
>> (default-deploy) on project buildkite: Failed to deploy artifacts: Could 
>> not transfer artifact 
>> io.jenkins.plugins:buildkite:pom:999999-20250807.010300-1 from/to 
>> maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): status 
>> code: 409, reason phrase: (409) -> [Help 1]
>>
>> Have I missed a step somewhere? Thanks in advanced for your help.
>>
>> Cheers,
>>
>> Isaac Su
>>
>> -- 
>> 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 visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/7815fe35-236e-4fd1-b241-3be2fcc1a351n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/7815fe35-236e-4fd1-b241-3be2fcc1a351n%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 visit 
https://groups.google.com/d/msgid/jenkinsci-dev/80030ac3-9948-4d82-a940-3303cc916510n%40googlegroups.com.

Reply via email to