|
|
|
[
Permlink
| « Hide
]
Robin Shen [25/Oct/23 05:42 AM]
The post-build script always run on server, even if the build itself runs on other nodes.
Hi Robin,
Thanks for your response. are there no any other way to run the script on Server. we can't run the build always on server. For a finished build, you may run below groovy script on SERVER:
groovy: def logContent = build.renderLogAsText(); // do whatever with logContent An appropriate place to run the groovy script would be on the post-build script in advanced setting of the configuration. |