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

Set the source root for Warnings-ng plugin

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                henryborchers Henry Borchers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: