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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use bitbucket pipes nexus-repository-publish

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

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

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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,849 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you