Skip to content

Configuration

Jae Gangemi edited this page Oct 24, 2020 · 2 revisions

Configuration-as-Code

Basic Configuration

This is the minimal ym required to create a basic repository configuration using default resolution policies.

unclassified:
  repository-connector:
    repositories:
    - id: maven
      url: https://domain.com/content/public

Advanced Configuration

# this does not represent a 'valid' configuration, just one that can contains all values
unclassified:
  repository-connector:
    localRepository: /tmp # optional
    repositories:
    - credentialsId: user-pass # optional
      enableSnapshotRepository: true # optional
      enableReleaseRepository: true # optional
      id: central
      releaseRepository: # optional
        checksum: fail
        credentialsId: release-write # optional
        update: daily
        url: https://domain.com/content/repositories/releases # optional
      snapshotRepository: # optional 
        checksum: warn
        credentialsId: snapshot-write # optional
        update: always
        urls: https://domain.com/content/repositories/snapshots # optional
      url: https://domain.com/content/public

Jenkins UI

Clone this wiki locally