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

Unable to create nexus new repo through nexus artifact uploader Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      By using nexus-artifact-uploader-plugin I am able to upload artifacts to existing custom repository in nexus but when I am trying to upload to new repository which is not there in nexus it is throwing error.

       

      stage ('upload artifact') {    

      steps {               

      nexusArtifactUploader artifacts: [

      [artifactId: 'test',                

      classifier: '', file: 'test.zip',

      type: 'zip']],              

        credentialsId: 'nexusid',            

          groupId: 'gitlfs',            

          nexusUrl: 'nexus_url',    

          nexusVersion: 'nexus3',        

      protocol: 'http',            

          repository: '<NEW_REPO>',    

                  version: "${params.version}"    

      } }

       

      NOTE: My requirement is to create new custom repository in nexus repository and upload artifacts to created repository through jenkins

      Thank you for your help

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            richscze nobody
            Reporter:
            tasleemshaik Tasleem Shaik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: