Get Klockwork count from command line

149 Views Asked by At

We are trying to get Klockwork count from command line, which is showed in UI in klockwork dashboard.We tried curl it is not working.

We need to fail the build pipeline if Klockwork count is increased from Baseline count.

1

There are 1 best solutions below

0
Sivanesh Waran On

you can use the "search" action to fetch the data you need through webapi (curl). Still, you can consider using Klocwork plugin in Jenkins to achieve your goal effectively.