> For the complete documentation index, see [llms.txt](https://docs.clouddefenseai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clouddefenseai.com/ci-cd/jenkins-integration-with-cdefence.md).

# Jenkins integration with cdefence

{% embed url="<https://youtu.be/Z4GQXNKOFok>" %}

### Setting up pipeline script

Click on your JOB -> Configure and setup up the pipeline script like following

<figure><img src="https://lh4.googleusercontent.com/WE6_jKzzFSz62E4YRqYesVtaj8PZVrEOAF1db7YiAmONMOSfibxvJ1QXM78wPyQ765QjbLjTo7ImDYWdFTEbDkcR0_EMyW4JzENK_wJU8VZg0i8AyR5fgoK5SpyK9P8ImupshqHbmbaKx3e-gxhOZFJjNPgwH1tiTnhODEGq6TAeYLcPeqO5qslWxA" alt=""><figcaption></figcaption></figure>

From above screenshot we conclude that,&#x20;

* We are cloning the project we want to scan&#x20;
* Getting our cdefense cli&#x20;
* Running it against that project

### Running build and results on UI

Click save and apply and hit build now

<figure><img src="https://lh6.googleusercontent.com/Ve0JoIsrQunQzRFVluTKOxRP5sohGlRJaDs_mAwXFohxBZHfGmDma9PG04hCzHZlcF9ZGjr6umXK6Uk3dGvaYPI-l0QZasY6QRUur83IBZ4srYICIUO6rB7M768daZbMrllK7bggzwklvRfEFjhrCVr_05ihlQGRlHr2_atkLAPKmGOru0k_jEdgxA" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh4.googleusercontent.com/g9dUsr3vX51sUT3Dbeyq4iWfCCdegumUKa-s3yYgFl-Yi_D3YoToNAibPHixNkg8jG2vVLEyE4mi-KDBYFwBnnYnHQ00ZXf7IitPspcqNZ76fGJfaFkZBFJe6-qywGmxqBF1GCS1riRfONLcwNm3ROTEtY3gMDjXUe1zzxuMRjy6NHakiWm2R38FsA" alt=""><figcaption></figcaption></figure>

Once it done with the build and cdefense cli is done scanning you can see the results on our UI

<figure><img src="https://lh4.googleusercontent.com/41SoXnjcYw1tzcF55x9RXl8kKGIuvVUNkcgidrwRGWi_B2ZrVT89z1RlLfBwwiNUYUSu5zZvlwCq6jYdxqYTG80p47rNC-X5GLqVLvpTPDCednUXJuybGrt5XB7fWoVJJzBZ8jQCRsGnUs_R8ZGoK-BcoHYL9kYJd2YZZ627TcruuxgPwRV2IBczTA" alt=""><figcaption></figcaption></figure>
