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

replacing jenkins workspace path when publishing

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently a build published to klocwork inspect contains a full path to the source location including the jenkins workspace.
      From version 9.6 you can avoid this by using the --replace-path option. If would be nice to use this to strip off the jenkins workspace when using 9.6

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          Thanks for the information.
          Could you provide me a sample of a complete command line?
          Thanks in advance.

          Show
          gbois Gregory Boissinot added a comment - Thanks for the information. Could you provide me a sample of a complete command line? Thanks in advance.
          Hide
          mouse256 Tom Billiet added a comment -

          Seems I forgot to add a link to the docs: http://www.klocwork.com/products/documentation/current/Replacing_the_path_to_your_source_files

          A fully working commandline argument for a dummy test project:
          kwbuildproject -j auto --tables-directory /tmp/test_tables --project testproject --replace-path /home/users/billiett/tmp/myproject/=/ klocwork.kwinject

          Show
          mouse256 Tom Billiet added a comment - Seems I forgot to add a link to the docs: http://www.klocwork.com/products/documentation/current/Replacing_the_path_to_your_source_files A fully working commandline argument for a dummy test project: kwbuildproject -j auto --tables-directory /tmp/test_tables --project testproject --replace-path /home/users/billiett/tmp/myproject/=/ klocwork.kwinject

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              mouse256 Tom Billiet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: