There is a plugin that copies files in the workspace, that it is what you want see https://plugins.jenkins.io/config-file-provider
El domingo, 9 de junio de 2019, 22:04:50 (UTC+2), Rajeev Ranjan escribió: > > Hi team, > I am stuck at end which currently I don't have clue how to proceed. > I have a plugin which is having some powershell files as resources in the > jar (generated at build time). > During runtime > > 1. it extracts the plugin jar from $JENKINS_HOME to get powershell > files > 2. execute it to perform business logic of the plugin on the project > 3. generates the output file in the provided path. > > It works perfectly fine if it is only master.The problem here with this is > it fails in distributed architecture as it won't have . > > What solution I can think of is to > > 1. copy the plugin to slave, > 2. extract the files and execute the powershell files in slave > instance, > 3. and copy back the output to master/slave as per input? > > I am not sure how to copy the files between master/slave, any reference > would be appreciated. > Also I am not sure even if this would work, is this the correct way for > the whole procedure (extracting the powershell files from jar, copying > between slave/master and executing it in slave). > Plugin: UiPath plugin > <https://github.com/jenkinsci/uipath-automation-package-plugin> > > Regards, > Rajeev Ranjan > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/9356cfd1-ec1b-411f-aebe-b7a20d34a083%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
