Build Check for ServiceNow - Bitbucket enables you to scan your code against three levels of controls: ServiceNow best practices, industry standards, and Quality Clouds own recommendations. It helps you optimize the automation of your continuous quality and release management with centralized quality gates.
Add the following snippet to the script section of your bitbucket-pipelines.yml file:
- pipe: qualityclouds/livecheck-bitbucket-pipe:latest
variables:
QC_API_KEY: "<string>"
ISSUES_THRESHOLD: "10000"
ISSUES_RATIO: "0"
| Variable | Usage |
|---|---|
| QC_API_KEY (*) | A Quality Clouds API key. Contact your Quality Clouds administrator or support to obtain one. If you're an admin, check the Administering API keys article. Once obtained, it should be stored as a secured variable. |
| ISSUES_THRESHOLD | Specifies the number of issues at which you want to fail the process and stop the deployment. This requires a numeric value. |
| ISSUES_RATIO | Specifies the ratio of configuration elements (CEs) - included in the build that have at least one issue - at which you want to stop to fail the process and stop the deployment. This requires a numeric value. |
(*) = required variable
You need to provide a valid API key to connect the Quality Clouds ruleset against which your code will be checked. To obtain an API key, contact your Quality Clouds admin. If you're an admin, check the Administering API keys article.
Example using secured variable $QC_API_KEY
- pipe: qualityclouds/livecheck-bitbucket-pipe:latest
variables:
QC_API_KEY: $QC_API_KEY
You can check the following type of CEs: Access Control List, Catalog Client Script, Catalog Item Producer, Catalog UI Policy, Catalog UI Policy Action, Client Script, Email Script, Event in Email Action, Event Script Action, Script Include, Table Transform Map, Transform Script, UI Action, UI Policy, UI Script, Widget, Widget Angular Provider, Workflow Version, WS Operation
First version of the pipe. It includes variable to run the check and set the success/fail criteria.
See our documentation for details.
If you'd like help, or you want to report an issue, contact us at [email protected].
Content type
Image
Digest
sha256:12f525d03…
Size
52 MB
Last updated
about 10 hours ago
docker pull qualityclouds/bitbucket-pipeline-servicenow