Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67972

Creating Pipeline for publishing NPM artifacts to my Nexus repository

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins version : 2.303.3
      Plugin : nexus-artifact-uploader

      Hi team,

      We have created a pipeline to upload Java application maven artifacts to our nexus repository and it is working fine.

      Now we need to apply the same for our NodeJS application. Could you please let us know if it is possible or not ? Because as per below example mentioned in https://github.com/jenkinsci/nexus-artifact-uploader-plugin , it is not working for nodeJs application.

      nexusArtifactUploader(
      nexusVersion: 'nexus3',
      protocol: 'http',
      nexusUrl: 'my.nexus.address',
      groupId: 'com.example',
      version: version,
      repository: 'RepositoryName',
      credentialsId: 'CredentialsId',
      artifacts: [
      [artifactId: projectName,
      classifier: '',
      file: 'my-service-' + version + '.jar',
      type: 'jar']
      ]
      )

      Appreciate your response please  

      BR,
      Mohamed Dawood

            pskumar448 Suresh Kumar
            dawo0od Mohamed Dawood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: