[JIRA] (JENKINS-56526) Cannot get excludeMessage to work

2019-03-13 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-56526  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get excludeMessage to work   
 

  
 
 
 
 

 
 The reason is that maven warnings do not have a message. The matching lines are set into the description attribute.  I'm not sure if it makes more sense to change that and set the message property or if it would be better to match message and description by the filter.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56526) Cannot get excludeMessage to work

2019-03-13 Thread andreas.zei...@balluff.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andreas Zeiler commented on  JENKINS-56526  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot get excludeMessage to work   
 

  
 
 
 
 

 
 Hi, I think I'm running into the same issue here. The following problem occur with the warnings-ng-plugin: I'm building our documentation through a pipeline script and I  get a doxygen generated log named "doxygen-warnings.log". In Jenkinsfile I've configured to look for recordIssues filters: [excludeMessage('.*warning: no uniquely matching class member found for*.'), excludeFile('.*\\/BLABLA\\/.*|.*\\/BLABLA\\/.*|.*\\/STM32F4xx\\/.*')], tools: [doxygen(pattern: 'doxygen-warnings.log')] I used the "Pipeline Syntax Generator" for this line. Unfortunatelly, the Plugin does not find anything. Even when I search some parts of the message in the plugin when viewing the summary.   The output of doxygen which I want to filter looks like this: /home/jenkins/workspace/Documentation_SCM/Src/HAL_PCBA/Conf/com_conf.cpp:13: warning: no uniquely matching class member found for  template <> template <> const hal_pcba::Uart1::SingleConfig Uart1::configuration(hal_uc::Uart::Baudrate::BAUD_38400, hal_uc::Uart::WordLength::LEN_9, hal_uc::Uart::StopBits::BIT_1, hal_uc::Uart::Parity::EVEN, hal_uc::Uart::Mode::TX_RX, hal_uc::Uart::FlowControl::NONE, hal_uc::Uart::Oversampling::X16) /home/jenkins/workspace/Documentation_SCM/Src/HAL_PCBA/Conf/com_conf.cpp:27: warning: no uniquely matching class member found for  template <> template <> const hal_pcba::UartRxPin::SingleConfig hal_pcba::UartRxPin::configuration(hal_uc::Uart::Pin::IoMode::ALTERNATIVE_PP, hal_pcba::UartInstance) /home/jenkins/workspace/Documentation_SCM/Src/HAL_PCBA/Conf/com_conf.cpp:35: warning: no uniquely matching class member found for  template <> template <> const hal_pcba::UartTxPin::SingleConfig hal_pcba::UartTxPin::configuration(hal_uc::Uart::Pin::IoMode::ALTERNATIVE_PP, hal_pcba::UartInstance)   When I test my RegEx at https://regex101.com/ I get the right results. Do I need any special RegEx Magic? Is this a known Bug?   Kind regards Andreas            
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

  

[JIRA] (JENKINS-56526) Cannot get excludeMessage to work

2019-03-12 Thread ja...@howeswho.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Howe created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56526  
 
 
  Cannot get excludeMessage to work   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Ulli Hafner  
 
 
Attachments: 
 image-2019-03-12-15-23-52-019.png  
 
 
Components: 
 warnings-ng-plugin  
 
 
Created: 
 2019-03-12 15:25  
 
 
Environment: 
 Jenkins 2.150.3  Warnings Next Generation Plugin 3.0.3  
 
 
Priority: 
  Major  
 
 
Reporter: 
 James Howe  
 

  
 
 
 
 

 
 


Step

 

recordIssues tool: mavenConsole(),
 filters: [excludeType('maven-surefire-plugin:test'),
   excludeMessage('.*A new version of dependency-check is available.*')],
 qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]]
 

 


Console (643-649)

 

[INFO] --- dependency-check-maven:4.0.2:check (default) @ logger-tcp-server ---