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 Artifact Uploader

nexusArtifactUploader: Nexus Artifact Uploader

  • nexusVersion
    • Type: String
  • protocol
    • Type: String
  • nexusUrl
    If Nexus Url is http://mynexusrepo:8081/nexus the value for this field is mynexusrepo:8081/nexus
    • Type: String
  • groupId
    • Type: String
  • version
    • Type: String
  • repository
    RepositoryId of the Repository in Nexus to which this artifact to be uploaded.
    • Type: String
  • credentialsId
    • Type: String
  • artifacts
      Array / List of Nested Object
    • artifactId
      • Type: String
    • type
      Extension of the artifact for ex: artifact file name is artifact.zip the extension is zip.
      • Type: String
    • classifier
      Classifier of the artifact.
      • Type: String
    • file
      File path in the workspace. ex:artifact.zip or artifact.jar
      • Type: String

step([$class: 'NexusArtifactUploader']): Nexus artifact uploader

  • nexusVersion
    • Type: String
  • protocol
    • Type: String
  • nexusUrl
    If Nexus Url is http://mynexusrepo:8081/nexus the value for this field is mynexusrepo:8081/nexus
    • Type: String
  • groupId
    • Type: String
  • version
    • Type: String
  • repository
    RepositoryId of the Repository in Nexus to which this artifact to be uploaded.
    • Type: String
  • credentialsId
    • Type: String
  • artifacts
      Array / List of Nested Object
    • artifactId
      • Type: String
    • type
      Extension of the artifact for ex: artifact file name is artifact.zip the extension is zip.
      • Type: String
    • classifier
      Classifier of the artifact.
      • Type: String
    • file
      File path in the workspace. ex:artifact.zip or artifact.jar
      • 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.