The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Nexus Platform Plugin

nexusPolicyEvaluation: Invoke Nexus Policy Evaluation

  • iqStage
    Controls the stage the policy evaluation will be run against on the Nexus IQ Server.
    • Type: String

nexusPublisher: Nexus Repository Manager Publisher

  • nexusInstanceId
    • Type: String
  • nexusRepositoryId
    The publisher currently supports hosted release Maven 2 repositories. This list is limited to repositories which meet this requirement.
    • Type: String
  • packages
      Array/List
      Nested Choice of Objects
    • $class: 'MavenPackage'
      • mavenCoordinate
          Nested Object
        • groupId
          • Type: String
        • artifactId
          • Type: String
        • version
          • Type: String
        • packaging
          • Type: String
      • mavenAssetList
          Array/List
          Nested Object
        • filePath
          • Type: String
        • classifier
          • Type: String
        • extension
          • Type: String
  • tagName (optional)
    Tag is only available for Nexus Repository Manager 3+
    • Type: String

associateTag: Associate Tag (Nexus Repository Manager 3.x)

  • nexusInstanceId
    • Type: String
  • tagName
    The tag which will be applied to components matching the specified search criteria
    • Type: String
  • search
    The search criteria used to locate components on the target Nexus Repository Manager server. For more details, please see Search API
      Array/List
      Nested Object
    • key
      • Type: String
    • value
      • Type: String

createTag: Create Tag (Nexus Repository Manager 3.x)

  • nexusInstanceId
    • Type: String
  • tagName
    Tag name is required and must be unique. Name can only contain letters, numbers, underscores, hyphens and dots and cannot start with an underscore or dot. The name cannot exceed 256 characters
    • Type: String
  • tagAttributesJson (optional)
    Optional metadata for the tag in JSON format. These attributes will be merged with those contained in the attributes file if both are provided. Attributes in this field will override those present in the file
    • Type: String
  • tagAttributesPath (optional)
    The file path (environment-aware) to the optional metadata for the tag, using the workspace as the base path
    • Type: String

deleteComponents: Delete Components (Nexus Repository Manager 3.x)

  • nexusInstanceId
    • Type: String
  • tagName
    Components associated with this tag will be deleted
    • Type: String

moveComponents: Move Components (Nexus Repository Manager 3.x)

  • nexusInstanceId
    • Type: String
  • destination
    The repository to which components will be moved
    • Type: String
  • search (optional)
      java.lang.String>
  • tagName (optional)
    Components associated with this tag will be moved to the selected destination repository
    • Type: String

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.