Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ee4j-build] Wrong release in staging

I agree that's it's a pain to do all this through Jenkins.

FYI, I documented the way I did it here:
https://wiki.eclipse.org/EE4J_Maven_Publishing

There's one job to build-and-release-to-staging and one job to
publish-final-release.

Mark Thomas wrote on 11/02/2018 10:28 AM:
> On 02/11/2018 16:50, Lukas Jungmann wrote:
>> Hi,
>>
>> On 11/2/18 4:25 PM, arjan tijms wrote:
>>> Hi,
>>>
>>> On Fri, Nov 2, 2018 at 3:22 PM Lukas Jungmann
>>> <lukas.jungmann@xxxxxxxxxx <mailto:lukas.jungmann@xxxxxxxxxx>> wrote:
>>>
>>>     depends on what one tells the job to do...
>>>
>>>
>>> Yes, about that, I "hoped" (but in vain, I guess), that the job didn't
>>> have enough power/access to actually release. E.g. that at most it
>>> could stage and prompt to close/release, but that actually synching to
>>> Maven central would still be a manual step.
>>
>> for 99% jakarta projects I don't think that the statement 'In each
>> project, there exists a committer who has access to ossrh nexus to
>> verify staging/release and who can push required 'drop'/'release'
>> button' is true, pmc would probably know that for sure.
>> Only jenkins jobs do have such power here - that is not what you wanted
>> to hear, right?
> 
> Yes, but committers can write Jenkins jobs. I'm doing it manually via
> Jenkins by getting Jenkins to execute shells with:
> 
> mvn -s /home/jenkins/.m2/settings-el.xml
> org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:rc-close \
>         -DserverId=ossrh \
>         -DnexusUrl=https://oss.sonatype.org/ \
>         -DstagingRepositoryId=jakartael-1002 \
>         -DstagingDescription="Close ready for release vote"
> 
> and similar. It is a pain and, given committers can do this, there is no
> good reason committers shouldn't just be given direct access to Nexus.
> It would save a lot of unnecessary hoop jumping.
> 
> I used a similar trick to get Jenkins to dump the public key so I could
> upload it to one of the key servers.
> 
> Mark
> _______________________________________________
> ee4j-build mailing list
> ee4j-build@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/ee4j-build
> 


Back to the top