[JIRA] (JENKINS-57448) excludeMessage does not work with single quotes

10 views
Skip to first unread message

reitzmichnicht@gmx.de (JIRA)

unread,
May 14, 2019, 4:33:02 AM5/14/19
to jenkinsc...@googlegroups.com
Michael Düsterhus created an issue
 
Jenkins / Bug JENKINS-57448
excludeMessage does not work with single quotes
Issue Type: Bug Bug
Assignee: Ulli Hafner
Components: analysis-model
Created: 2019-05-14 08:32
Environment: Version 5.0.1
Priority: Minor Minor
Reporter: Michael Düsterhus

For an output like this the following exclude Filter does not work

[WARNING] 'tools.jar' was not found, kapt may work unreliably

excludeMessage("'tools.jar' was not found, kapt may work unreliably")
but this works:
excludeMessage('was not found, kapt may work unreliably'),

So there is a problem with single quotes inside filter messages

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

reitzmichnicht@gmx.de (JIRA)

unread,
May 14, 2019, 4:34:02 AM5/14/19
to jenkinsc...@googlegroups.com
Michael Düsterhus updated an issue
Change By: Michael Düsterhus
For an output like this the following exclude Filter does not work

{noformat}

[WARNING] 'tools.jar' was not found, kapt may work unreliably
{noformat}

the following exclude Filter does not work
excludeMessage("'tools.jar' was not found, kapt may work unreliably")

but this works:
excludeMessage('was not found, kapt may work unreliably'),

So there is a problem with single quotes inside filter messages

ullrich.hafner@gmail.com (JIRA)

unread,
May 14, 2019, 5:52:01 AM5/14/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-57448
 
Re: excludeMessage does not work with single quotes

This probably looks like a problem with the Groovy build script pipeline (" vs. ').

ullrich.hafner@gmail.com (JIRA)

unread,
May 14, 2019, 6:20:02 AM5/14/19
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
May 14, 2019, 6:21:02 AM5/14/19
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Jun 17, 2019, 4:56:02 PM6/17/19
to jenkinsc...@googlegroups.com
Ulli Hafner closed an issue as Cannot Reproduce
 
Change By: Ulli Hafner
Status: Open Closed
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages