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
  • iqApplication
    Select an IQ Application from a list of available IQ Applications. Determines the policy elements (policies, labels, and license threat groups) to associate with this build, and is managed via the Nexus IQ Server.
    • Type: String
  • failBuildOnNetworkError (optional)
    Controls the build outcome if there is a failure in communicating with the Nexus IQ Server (e.g. network outage). If checked, the build will be marked as failed. Otherwise, the build is only marked as unstable.
    • Type: boolean
  • iqScanPatterns (optional)
    A list of Ant-style patterns relative to the workspace root that denote the files/archives to be scanned, e.g. **/target/*.war or **/target/*.ear. If unspecified, the scan will default to the patterns **/*.jar, **/*.war, **/*.ear, **/*.zip, **/*.tar.gz.
      Array/List
      Nested Object
    • scanPattern
      • Type: String
  • jobCredentialsId (optional)
    To use the IQ server credentials configured in Nexus global configuration for this job select - none -, otherwise select different credentials.
    • Type: String
  • moduleExcludes (optional)
      Array/List
      Nested Object
    • moduleExclude
      • 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

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.