Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46783

Custom parser names + multiple instances of same parser

    • 5.0.0-beta2

      I use gnu make + gcc for building both my unit tests and my actual project, and use the warnings plugin to keep track of warnings for both. However, this does not function properly, because:

      A) The name of the warnings trend etc is the same for both, so I can't see which is which

      B) Although two instances of a trend graph is shown, the same content is shown in both. Probably because of naming confusion.

       

      The fix for these issues I think would be valuable also for those who don't need multiple instances of the same parser:

      Allow the user to give the parser a custom name. This way, instead of seeing the somewhat cryptic "Gnu make and GCC warnings", I could see something like "Myprojectname build warnings", or whatever I would like. 

          [JENKINS-46783] Custom parser names + multiple instances of same parser

          Ulli Hafner added a comment -

          This will be possible (at least with a pipeline).

          Please check if your requirements are considered in the corresponding wiki page.

          Ulli Hafner added a comment - This will be possible (at least with a pipeline). Please check if your requirements are considered in the corresponding wiki page .

          Øyvind R added a comment -

          Hi Ulli,

          I couldn't really find anything relevant in the link you provided. In a pipeline project you can have multiple instances of the warning publishing I guess, but I can't see how you could set a custom name for each which would show up the graph/links. If there is a possibility to do so, it should be available under the "pipeline syntax", which it is not currently.

          By the way, there is a bug in that view (the pipeline syntax settings): If you click advanced and the the link "You can define the default values ... " then you will get a NullPointerException.

           

          Øyvind R added a comment - Hi Ulli, I couldn't really find anything relevant in the link you provided. In a pipeline project you can have multiple instances of the warning publishing I guess, but I can't see how you could set a custom name for each which would show up the graph/links. If there is a possibility to do so, it should be available under the "pipeline syntax", which it is not currently. By the way, there is a bug in that view (the pipeline syntax settings): If you click advanced and the the link "You can define the default values ... " then you will get a NullPointerException.  

          Ulli Hafner added a comment -

          Yes you are right, seems that I did not write that part into the wiki page yet.

          When this is ready, you can publish several results. If the results are using the same parser, then you need to specify the names (trend, project action, links, etc.) as well.

          Ulli Hafner added a comment - Yes you are right, seems that I did not write that part into the wiki page yet. When this is ready, you can publish several results. If the results are using the same parser, then you need to specify the names (trend, project action, links, etc.) as well.

          Ulli Hafner added a comment -

          Released in 5.0.0-beta2.

          Ulli Hafner added a comment - Released in 5.0.0-beta2.

            drulli Ulli Hafner
            godskalk Øyvind R
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: