Hi Thomas,

I had a similar problem trying to release active-choices-plugin last Friday.

What worked for me was reading


https://issues.jenkins-ci.org/browse/INFRA-588

and updating the project pom.xml. Here's the summary for the fix, extracted 
from INFRA-588:

"""
UPDATE: the recommended and simplest solution is to just upgrade to the 2.x 
parent plugin pom. See https://github.com/jenkinsci/plugin-pom
This issue has been fixed in that pom starting with its 2.5 version.
So, just use that pom, and remove the references/overrides from your pom to 
make sure you inherit the right values.
"""

So here's what I did:

https://github.com/jenkinsci/active-choices-plugin/commit/ccb6ed06784cc5499ef268e7d6bb81dfec46c350

Furthermore, after fixing it, the mvn release:prepare failed, due to FindBugs 
warnings (I assume this new parent is checking plug-ins for FindBugs issues). 
So I'd suggest

1) try changing your pom.xml as per INFRA-588
2) run mvn clean test findbugs:findbugs findbugs:gui and confirm all tests are 
passing, and that FindBugs is happy too
3) release it :)

Hope that helps,
Bruno




----- Original Message -----
> From: Thomas Fürer <[email protected]>
> To: [email protected]
> Sent: Monday, 7 November 2016 6:51 AM
> Subject: Re: Problem during plugin release
> 
> I have tried to execute these script but get an NullPointerException.
> 
> I also have filed an Pull Request for my change.
> 
> Maybe anyone from the infrastructure crew can add this.
> 
> 
> Thanks
> 
> Thomas
> 
> 
> Am 06.11.2016 um 11:05 schrieb Fritz Elfert:
>>  Hi,
>> 
>>  You do not have permissions to release thinBackup (actually NOBODY has).
>>  You can fix this yourself. Read the README here:
>>  https://github.com/jenkins-infra/repository-permissions-updater/
>> 
>>  Cheers
>>   -Fritz
>> 
>>  On 06.11.2016 10:14, Thomas Fürer wrote:
>>>  Hi,
>>> 
>>>  I'm the maintainer of thinBackup-plugin and I want to release 
> several
>>>  commits.
>>>  I tried it several time now with
>>> 
>>>  mvn release:prepare release:perform -Dusername=tofuatjava 
> -Dpassword=...
>>> 
>>>  but I finally I get the error message
>>> 
>>>  [INFO] [ERROR] Failed to execute goal
>>>  org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy 
> (default-deploy)
>>>  on project thinBackup: Failed to deploy artifacts: Could not transfer
>>>  artifact org.jvnet.hudson.plugins:thinBackup:hpi:1.8 from/to
>>>  maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Failed to
>>>  transfer file:
>>> 
> https://repo.jenkins-ci.org/releases/org/jvnet/hudson/plugins/thinBackup/1.8/thinBackup-1.8.hpi.
>>>  Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
>>> 
>>>  I tried to update my credentials at accounts.jenkins-ci.io, but nothing
>>>  changes.
>>>  So, please could anyone check my credentials on the plugin hosting
>>>  repository or verify my settings in the pom?
>>> 
>>>  thomas
>>> 
>>>  PS: I found several posts in the wiki, most of them are in my opinion
>>>  outdate and it is not easy to find the relevant things.
>>> 
>>> 
>> 
> 
> 
> -- 
> 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/d37fb7fc-a767-592b-f83f-523625b9450e%40gmail.com.
> 
> For more options, visit https://groups.google.com/d/optout.
> 

-- 
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/565216906.1628411.1478461178676%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to