Creating Pipeline for publishing NPM artifacts to my Nexus repository

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Suresh Kumar
            Reporter:
            Mohamed Dawood
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: