[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-28 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Labels: 
 help-wanted newbie-friendly  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.7451.1569705240681%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-28 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Status: 
 Fixed but Unreleased Resolved  
 
 
Released As: 
 6.1.0  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.7449.1569705240637%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-25 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Status: 
 In Progress Fixed but Unreleased  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.4994.1569416220450%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner started work on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.4114.1569324660597%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
URL: 
 https://github.com/jenkinsci/warnings-ng-plugin/pull/217  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.4116.1569324660652%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-24 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner assigned an issue to Ulli Hafner  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Assignee: 
 Ulli Hafner  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.4107.1569324600483%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-22 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Assignee: 
 Sladyn Nunes  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.2568.1569186540443%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-09-22 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Labels: 
 help-wanted newbie-friendly  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.2572.1569186540532%40Atlassian.JIRA.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-07-16 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 Yes, exactly. The stub needs to be extended with the other properties. But the approach should be straightforward.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.13283.1563310380492%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-07-15 Thread sladynnune...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sladyn Nunes commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 Makes sense to have them as it would, be like a swiss knife providing all the information we need right out of the box. I reckon we could add tests in the IssuesSizeTokenMacroTest and then add the relevant information to the Class.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.11467.1563213120172%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-07-14 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 I think, the best way would be to add a parameter to the existing token. This is simpler to implement and would reuse an already existing concept.We basically need a new parameter of type {{String}} that will be converted to an enum similar to {{QualityGateType}}. In this enum we should have a function object that handles the correct property to report. Then we can provide all different values just with one enum. So rather then using the hard coded getter {{action.getResult().getTotalSize();}} we need to use {{enumInstance.getActualSizeMethodReference().apply( deltaReport analysisResult );}}. The  only problem is  available properties are available in  the  delta report that is currently not persisted  interface {{AnalysisBuildResult}} .  I need to check what would be  So  the  best way to implement it  enum would probably look like:{code}public enum IssueTokenType {/** Total number of issues .*/TOTAL(AnalysisBuildResult::getTotalSize),/** Total number of issues (severity Error). */TOTAL_ERROR(r  -> r.getTotalSizeOf(Severity.ERROR)),/** Number of new issues. */NEW(AnalysisBuildResult::getTotalSize),/** Number of new issues (severity Error). */NEW_ERROR(r  -> r.getNewSizeOf(Severity.ERROR)),/** Number of fixed issues. */FIXED(AnalysisBuildResult::getFixedSize),   }{code}  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.10105.1563136080222%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d

[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-07-14 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 I think, the best way would be to add a parameter to the existing token. This is simpler to implement and would reuse an already existing concept. We basically need a new parameter of type String that will be converted to an enum similar to QualityGateType. In this enum we should have a function object that handles the correct property to report. Then we can provide all different values just with one enum.  So rather then using the hard coded getter action.getResult().getTotalSize(); we need to use enumInstance.getActualSizeMethodReference().apply(deltaReport);. The only problem is the delta report that is currently not persisted. I need to check what would be the best way to implement it.   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.10094.1563130800180%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-07-14 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner assigned an issue to Sladyn Nunes  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Assignee: 
 Ulli Hafner Sladyn Nunes  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.10090.1563129960202%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-06-17 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Labels: 
 newbie-friendly  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.2000.1560805200378%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 Matthew Dews I have no idea on how to consume tokens in a declarative pipeline. Maybe here you should better ask on the mailing list or Gitter channel (or IRC).  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1841.1557780660113%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 [~christiantreczoks] The {{action}} from above has a {{getDisplayName()}} method that shows the link name in the side panel. Or you can call {{getLabelProvider()}} to obtain an instance of the `LabelProvider` that handles all of the labels.If you have a working example it would be quite helpful for others if we can put it into [Documentation.md|https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md] file.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1830.1557780480247%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 [~christiantreczoks] The {{action}} from above has a {{getDisplayName()}} method that shows the link name in the side panel. Or you can call {{getLabelProvider()}} to obtain an instance of the `LabelProvider` that handles all of the labels. If you have a working example it would be quite helpful for others if we can put it into  the  [Documentation.md|https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md] file.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1833.1557780480311%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 [~christiantreczoks] The {{action}} from above has a {{getDisplayName()}} method that shows the link name in the side panel. Or you can call {{ getLabelProvider()}} to obtain an instance of the `LabelProvider` that handles all of the labels.   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1825.1557780360327%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 [~christiantreczoks] The  `  {{ action ` }}  from above has a  `  {{ getDisplayName() ` }}  method that  show  shows  the link name in the side panel. Or you can call  `  {{ getLabelProvider() ` }}  to obtain an instance of the `LabelProvider` that handles all of the labels.   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1822.1557780360275%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 Christian Treczoks The `action` from above has a `getDisplayName()` method that show the link name in the side panel. Or you can call `getLabelProvider()` to obtain an instance of the `LabelProvider` that handles all of the labels.   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1818.1557780240149%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-05-13 Thread jenkins...@matthew-dews.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew Dews commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 Is there a way to get this information in a declarative pipeline? It looks like the right answer is to add a script block, but I prefer to stick to the declarative pipeline as much as possible. Even the ANALYSIS_ISSUES_COUNT token doesn't work in a declarative pipeline, but that may be from my lack of understanding how it is supposed to be used   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1640.1557760140132%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-05-13 Thread christian.trecz...@continental-corporation.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christian Treczoks commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 works really good! I get all the information I need and even a lot more compared to the simple number of warnings  One final question: how can I get the name of the parser? I transfer the ID to "scanForIssues", but for reporting it in an eMail I would like to translate the ID to the parser-name. How can this be done?   
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1542.1557757560406%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-05-13 Thread christian.trecz...@continental-corporation.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christian Treczoks updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Christian Treczoks  
 
 
Attachment: 
 image-2019-05-13-16-25-18-720.png  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1540.1557757560338%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 {{recordIssues}} does not have a result (yet). Maybe I should change that together with [PR58|https://github.com/jenkinsci/warnings-ng-plugin/pull/58]. You need to replace the single line call with a call of the two steps in order to work on the objects.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1226.1557746520292%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner edited a comment on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 {{recordIssues}} does not have a result (yet). Maybe I should change that together with [PR58 ]( | https://github.com/jenkinsci/warnings-ng-plugin/pull/58 ) ] .  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1224.1557746520269%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 recordIssues does not have a result (yet). Maybe I should change that together with [PR58](https://github.com/jenkinsci/warnings-ng-plugin/pull/58).  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1221.1557746460284%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

2019-05-13 Thread christian.trecz...@continental-corporation.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christian Treczoks commented on  JENKINS-57312  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
 I use in my scripted Pipeline "recordIssues", but it doesn't seem to return any object. 

 

def issues = recordIssues sourceCodeEncoding: 'UTF-8', blameDisabled: true,
 tool: groovyScript(parserId: ParserName[i], pattern: "/${ParserPattern[i]}", reportEncoding:'UTF-8'),
 healthy: 1, minimumSeverity: 'NORMAL', unhealthy: 5
 

 Delivers: 

 

Cannot invoke method getNewIssues() on null object
 

 How can I get to the ResultAction-object?    
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199081.1556811582000.1114.1557745800176%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57312) Provide tokens for new and fixed warnings

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


 
 
 
 

 
 
 

 
   
 Ulli Hafner updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57312  
 
 
  Provide tokens for new and fixed warnings   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Summary: 
 Get Delta-Report in Pipeline Provide tokens for new and fixed warnings  
 

  
 
 
 
 

 
 The token {{ANALYSIS_ISSUES_COUNT}} reports the total number of warnings per tool. It makes sense to add additional tokens (or a configuration of the current token) that allows to report the number of new and fixed warnings (and the delta).From the following requirements: In my environment Jenkins currently sends automatically eMails to the Build-Requester with the status of the build incl. the link to the Job.It would be great if it's possible to send directly the delta-report information of Warnings-NG, how many new warnings were introduced, how many solved, but I couldn't find out how to get this information within the pipeline.In the web-interface I already can see this:!image-2019-05-02-17-37-28-868.png!I don't think that all developers are clicking on the link in the mail, but they would if the notification mail would already say: "10 new warnings introduced, please check and correct!" Thanks!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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