# Jenkins

You can integrate your Jenkins pipeline with OpenText Core SCA, so that a vulnerability scan is performed every time the pipeline is triggered.&#x20;

### **Configure** OpenText Core SCA **token**

1. Start by [generating an access token](/product/administration/generate-access-token.md). Copy the token to use it in the next step.
2. Create the DEBRICKED\_TOKEN, which the pipeline will use. Inside Jenkins, go to your pipeline, click **Add Credentials**, and select the correct folder.&#x20;
3. Create a new credential with "Kind" set to secret text.&#x20;
4. In the **secret** field, insert the access token you created in the previous step. As ID, enter DEBRICKED\_TOKEN and click **Create**. See the image below:

<figure><img src="/files/GD9aWK1wnYXmrB3b8zSJ" alt="Image show setting up Jenkins credentials for Debricked Scan"><figcaption><p>Setting up Jenkins credentials for Debricked Scan</p></figcaption></figure>

### **Configure Jenkins CI workflow or pipeline**

OpenText Core SCA assumes you already have a Jenkinsfile in your repository, describing a declarative pipeline. You now need to add a new stage to this pipeline.

Add the following template to the file:

{% @github-files/github-code-block url="<https://github.com/debricked/cli/blob/main/examples/templates/Jenkins/Jenkinsfile>" %}

Commit your changes to Jenkinsfile and watch the CI run.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.debricked.com/tools-and-integrations/integrations/jenkins.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
