Sign inSign up

sjeandeaux/nexus-cli

By sjeandeaux

•Updated about 9 years ago

Create a docker with nexus-cli in.

Image
0

1.2K

sjeandeaux/nexus-cli repository overview

⁠nexus-cli

⁠upload

I share a volume where i have my upload.jar file.


#run your own nexus
docker run -d -P --name nexus sonatype/nexus3:3.5.1
docker build --tag sjeandeaux/nexus-cli .
docker run --link nexus:nexus -ti -v $(pwd):$(pwd):ro sjeandeaux/nexus-cli \
                              -repo=http://nexus:8081/repository/maven-releases \
                              -user=admin \
                              -password=admin123 \
                              -file=$(pwd)/upload.jar \
                              -groupID=com.jeandeaux \
                              -artifactID=elyne \
                              -version=0.1.0 \
                              -hash md5 \
                              -hash sha1

⁠TODOs

  • interface for artifact
  • interface for repository
  • integration tests

Tag summary

Content type

Image

Digest

Size

260.8 MB

Last updated

about 9 years ago

docker pull sjeandeaux/nexus-cli