我需要从我的日志中取出某个字符串并显示它,但我不知道该怎么做。这是我的代码
<%if(build.result==Result.OK)
{
build.getLog(100).each()
{
line -> %>
${line}
<% } %>
现在显示的字符串是这样的(名称的最后一部分会改变):
09:19:52 Deploying artifact: http://localhost:8081/artifactory/libs-release-local/2.0.4.121106.zip
我想取出那个http字符串,但我不知道怎么做。有人可以给我建议吗?