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

replacing jenkins workspace path when publishing

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • klocwork-plugin
    • None

      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

          [JENKINS-17120] replacing jenkins workspace path when publishing

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

          Gregory Boissinot added a comment - Thanks for the information. Could you provide me a sample of a complete command line? Thanks in advance.

          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

          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

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

              Created:
              Updated: