Writing to a json file in workspace using Jenkins

后端 未结 3 774
面向向阳花
面向向阳花 2020-12-31 21:19

I\'ve a jenkins job with few parameters setup and I\'ve a JSON file in the workspace which has to be updated with the parameters that I pass through jenkins.

Example

3条回答
  •  再見小時候
    2020-12-31 22:04

    I will keep it simple. A windows batch file or a shell script (depending on the OS) which will read the environment values and open the JSON file and make the changes.

提交回复
热议问题