Set the source root for Warnings-ng plugin

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      My pipelines generate my builds out of source which has provide me with a problem with any warning messages that use relative paths for the file names. warnings-ng is able to parse the warning messages beautifully but it's unable to link it back to the scm directory or source root.

       

      For reference, my jenkins workspace looks a little like this...

       

      <WORKSPACE ROOT>/

      <WORKSPACE ROOT>/scm/

      <WORKSPACE ROOT>/scm/.git/

      <WORKSPACE ROOT>/build/

      <WORKSPACE ROOT>/reports/

      <WORKSPACE ROOT>/dist/

      <WORKSPACE ROOT>/logs/

       

      What I would love is to use is something like this is my pipeline

       

      recordIssues(

          tools: [myPy(name: 'MyPy', pattern: 'logs/mypy.log')],            sourcePath: "scm"

      )
       

      I love this plugin. it's saved me from so much trouble

            Assignee:
            Ulli Hafner
            Reporter:
            Henry Borchers
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: