griddynamics / mpl

[IT-36925] Jenkins Shared Modular Pipeline Library
https://blog.griddynamics.com/developing-a-modular-pipeline-library-to-improve-devops-collaboration/
Apache License 2.0
156 stars 97 forks source link

MPL-102 Fixed issue with path processing when running server on Win #103

Closed sparshev closed 1 year ago

sparshev commented 1 year ago

This fix is for rare case of running Jenkins server on windows. The tokenization is not the great way of processing and expecting proper array items on the output was quite silly. So I rewrote the function to use File mechanism of parsing the paths - on nix it will properly work with nix paths and on windows it will properly process the windows paths.

fixes: #102