Sign inSign up
bitbucket-pipeline-servicenow logo

qualityclouds/bitbucket-pipeline-servicenow

By qualityclouds

•Updated about 10 hours ago

Image
0

4.0K

qualityclouds/bitbucket-pipeline-servicenow repository overview

⁠Build Check for ServiceNow - Bitbucket

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.

⁠YAML Definition

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"

⁠Variables

VariableUsage
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_THRESHOLDSpecifies the number of issues at which you want to fail the process and stop the deployment. This requires a numeric value.
ISSUES_RATIOSpecifies 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

⁠Prerequisites

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⁠.

⁠Examples

Example using secured variable $QC_API_KEY

- pipe: qualityclouds/livecheck-bitbucket-pipe:latest
  variables:
    QC_API_KEY: $QC_API_KEY

⁠Supported configuration element (CE) types

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

⁠Release Notes

⁠Version 1.0.0

First version of the pipe. It includes variable to run the check and set the success/fail criteria.

⁠Help and Support

See our documentation⁠ for details.

If you'd like help, or you want to report an issue, contact us at [email protected]⁠.

Tag summary

Content type

Image

Digest

sha256:12f525d03…

Size

52 MB

Last updated

about 10 hours ago

docker pull qualityclouds/bitbucket-pipeline-servicenow