Started by user anonymous Building in workspace /var/lib/jenkins/workspace/Main Checkout:Main / /var/lib/jenkins/workspace/Main - [email protected] Using strategy: Default Cloning the remote Git repository Cloning repository origin
我理解这可能是因为Git进程尚未刷新其输出流;但令人沮丧的是因为如果我从终端运行一个git clone,那么我可以清楚地看到一个实时更新的百分比,告诉我该命令的完成程度.
除了以下情况之外,这并不重要:
>我需要尽快关闭这台机器.
>这个特殊的回购需要很长时间才能克隆(比如超过一个小时).>因此,如果克隆是90%,我想让它完成.如果它更像50%那么我想要杀死构建并在早上开始它.有人知道是否有可能以某种方式得到我渴望的信息?
> Source code for GIT plugin > GIT clone flags搜索克隆并查看它检查git版本的位置,以确定它是否通过–progress标志.如果您的构建已经开始,那么您可以做的并不多,但为了将来参考,这可能会有所帮助.
--progress Progress status is reported on the standard error stream by default when it is attached to a terminal, unless -q is specified. This flag forces progress status even if the standard error stream is not directed to a terminal.
精彩评论