jenkinsci / plasticscm-plugin

A plugin for Jenkins to be able to use Plastic SCM
MIT License
15 stars 31 forks source link

Fix XML output in commands #37

Closed mig42 closed 4 years ago

mig42 commented 4 years ago

The improvements in PR #36 only worked for master-only setups. Agents were utterly broken.

The mistake was to use java.nio.Paths instead of hudson.FilePath. Jenkins plugins need to use the latter because that class manages files in remote agents (which is the case).

This PR replaces the local-only file classes with Jenkins' FilePath.