如何在jenkins中手动读取/timestamps文件的内容 [英] How to read the contents of /timestamps file in jenkins manually

查看:117
本文介绍了如何在jenkins中手动读取/timestamps文件的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试读取为该构建生成的/timestamps文件,但是由于尝试打开时它包含一些特殊字符,因此我无法理解该文件格式.我想将此文件用于脚本,该脚本将在构建完成后作为批处理命令运行.任何帮助,将不胜感激.谢谢

I am trying to read the /timestamps file that gets generated for the build but I am not able to understand the file format as when I try to open it is contains some special characters. I wanted to use this file for a script which will run as a batch command after the build has completed. Any help would be appreciated. Thanks

推荐答案

依靠这样的插件的内部数据结构被认为是不好的做法.
建议您联系该插件的作者,看看他是否可以为此提供一些API.

It is considered bad practice to rely of the internal data-structure of a plugin like this.
Suggest you contact the writer of that plugin and see if he can give some API for that.

这篇关于如何在jenkins中手动读取/timestamps文件的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆