更新时间:2023-12-05 13:48:04
如果只想向文件写入一行,则可以使用下一个调用:
If you want to just write a line once to the file you can use next call:
new File("file").write(result)
Groovy脚本查找jenkins的构建状态
如何查找最新的git从Ant构建脚本提交哈希
如何从 ant 构建脚本中查找最新的 git commit hash