Skip to content

datadrivers/go-nexus-client

Repository files navigation

Golang Nexus Client

codeql workflow Contributor Covenant Go Report Card

Introduction

Sonatype Nexus Golang Client

Implemented and tested with Sonatype Nexus 3.64.0-03.

Development and testing

NOTE: For testing Nexus Pro features, place the license.lic in scripts/.

For testing start a local Docker containers using make

make start-services

This will start a Docker and MinIO containers and expose ports 8081 and 9000.

Now start the tests

$ make test

The tests assume Nexus Pro features. If you do not have a Nexus Pro license you can skip the pro tests by setting the SKIP_PRO_TESTS environment variable:

$ SKIP_PRO_TESTS=true make test

To SKIP_AZURE_TESTS environment variable:

$ SKIP_AZURE_TESTS=true make test

Author

Datadrivers GmbH