Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

New answers tagged

0 votes
Accepted

Read and parse json file from workspace on slave node

Following is the code that worked for me, if there is any other better way to do this, suggestions are most welcome. Main Method: def transformjsonfile(propertiesPath, jsonfilepath) { // Load ...
user avatar
0 votes
Accepted

Create a folder in slave node using Jenkins pipeline groovy script

Issue got resolved with the use of File Operations Plugin methods like folderCreateOperation & fileCreateOperation. Example code snippet below: def path = "${workspace}\submodule\newFolder&...
user avatar

Top 50 recent answers are included