Hi

I want to specify two artefact patterns in a declarative script but am unsure 
of the syntax:

post {
     always {
             archiveArtifacts 
artifacts:'myProj/myExe',artifacts:'../solibs/myLib'
            }
     }
}

Errors encountered validating Jenkinsfile:
WorkflowScript: 71: Duplicate named parameter 'artifacts' found.

What is the correct syntax please?

Best regards

David

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6404e86e197b40ea9ebfe03653b9c710%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to