Multiple Artifacts in Nexusartfactuploader

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Multiple Artifacts in Nexusartfactuploader

Manoj Chander
Hi greetings everyone ,

My project is creating some 60 jars with diff names  , I want to push them  to nexus i could not use wildcard (.jar) build fails seems  nexusArtifactUploader doesnt suport wildcard.

how can i achieve this can i create a loop ? 

is there a better way to do this .


nexusArtifactUploader artifacts: [
            [artifactId: "testservices", classifier: '', file: "/server/services/deploy/"*.jar', type: 'jar']
          ],
          credentialsId:  NEXUS_CREDENTIAL_ID,
          groupId: "$group",
          nexusUrl: NEXUS_URL,
          nexusVersion: 'nexus3',
          protocol: 'https',
          repository: NEXUS_REPO ,
          version: "$nexus_version${BUILD_NUMBER}-SNAPSHOT"
            }
        }
        
    

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a16fb328-cee8-494d-8037-b8678db2023fn%40googlegroups.com.