I used the following script in the Post-Execution action for saving the QB logs to log.txt in the workspace, but the log file is empty. Looks like the logs were not written to the file. Please advise. Thanks,
groovy:
def logFile = new File(configuration.workspaceDir, "log.txt");
build.saveLogAsText(logFile);
Description
I used the following script in the Post-Execution action for saving the QB logs to log.txt in the workspace, but the log file is empty. Looks like the logs were not written to the file. Please advise. Thanks,
groovy:
def logFile = new File(configuration.workspaceDir, "log.txt");
build.saveLogAsText(logFile);