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

cmake with klocwork plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • klocwork-plugin
    • None
    • Jenkins 2.192
      KW plugin 2.5.0

      Something like this is not working: 
       

      klocworkBuildSpecGeneration([ additionalOpts: '', 
      buildCommand:'''cmake "%WORKSPACE%\\CMakeLists.txt" -B"%WORKSPACE%\\build_R13" -G Ninja -DCMAKE_BUILD_TYPE:STRING=Release -DAPP_TYPE=AOS_V3_L4_APP_COUNTING_PEOPLE 
      cmake --build "%WORKSPACE%/build_R13" --target all''', 
      ignoreErrors: false, 
      output:'kwinject.out', 
      tool:'kwinject' ])

      I suppose for the moment I will do the klocwork step through bat scripts instead plugin.

      It should be possible to interface with cmake
       

            jlarfors Jacob Lärfors
            atsju2 julien staub
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: