nes_welsh
2013-02-20 09:25:09 UTC
Hi All,
I am trying to parse the build log to extract some information which is
output in it. I have the following situation:
build log stuff....
{
table stuff
table stuff
table stuff
}
I want to get the information in the {}. I am using the following regex
${BUILD_LOG_REGEX, regex="/\{(.*?)\}/m"}
but its returning:
[[ Exception while replacing BUILD_LOG_REGEX. Please report this as a bug.
]]
{{ java.util.regex.PatternSyntaxException: Illegal repetition near index 0
/{(.*?)}/m
^ }}
Any Ideas?
Cheers,
Neil
--
View this message in context: http://jenkins.361315.n4.nabble.com/BUILD-LOG-REGEX-and-Email-tp4656346.html
Sent from the Jenkins users mailing list archive at Nabble.com.
I am trying to parse the build log to extract some information which is
output in it. I have the following situation:
build log stuff....
{
table stuff
table stuff
table stuff
}
I want to get the information in the {}. I am using the following regex
${BUILD_LOG_REGEX, regex="/\{(.*?)\}/m"}
but its returning:
[[ Exception while replacing BUILD_LOG_REGEX. Please report this as a bug.
]]
{{ java.util.regex.PatternSyntaxException: Illegal repetition near index 0
/{(.*?)}/m
^ }}
Any Ideas?
Cheers,
Neil
--
View this message in context: http://jenkins.361315.n4.nabble.com/BUILD-LOG-REGEX-and-Email-tp4656346.html
Sent from the Jenkins users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.