Configure Maven Artifact Credentials
Spinnaker can be configured to deploy artifacts stored in a Maven repository.
You can configure more than one artifact account, each with separate credentials. Specify which account to use in the configuration for the stage that reads the data.
Prerequisites
- A Maven repository
Edit your artifact settings
-
Enable artifact support.
-
Enable the Maven artifact provider:
hal config artifact maven enable
-
Add an artifact account:
hal config artifact maven account add my-maven-account \ --repository-url https://my.repo.example.com
There are more options described here if you need more control over your configuration.