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

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

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

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.