Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use bitbucket pipes nexus-repository-publish

Jim Richards September 5, 2019

I'm trying to publish to the Central Maven repository staging site (for now). I have the sonatype repo set up but I can't find any documentation on how to configure the sonatype/nexus-repository-publish pipes

 

 - step:
name: deploy snapshot
script:
- pipe: sonatype/nexus-repository-publish:0.0.1
variables:
FILENAME: target/atom-*.jar
ATTRIBUTES: ????
USERNAME: ${SONATYPE_USERNAME}
PASSWORD: ${SONATYPE_PASSWORD}
SERVER_URL: https://oss.sonatype.org/content/repositories/snapshots
# REPOSITORY: '<string>' # Optional.
# FORMAT: '<string>' # Optional. 

 

I don't know what I should put for ATTRIBUTES, and I'm not sure if I can have a wildcard in the FILENAME, since I need to deploy the jar, the source and the javadoc.

I haven't found any examples or documentation.

I'm also trying to determine how to gpg sign my code, which will also mean sending the .asc files.

Any help?

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 15, 2019

Hi @Jim Richards ,

according to support section in the Readme for Sonatype pipe repository

you can ask Sonatype Community at the Sonatype Exchange .

 

Cheers,
Alex

Jim Richards September 17, 2019

Thanks. I figured that the pipe was more for private nexus repos. As I'm pushing to the open source repo, I ended up using the maven deploy plugin.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events