GitLab CI Integration
Agent Capability Scanโ
agentforce-scan:
stage: test
image: node:18
script:
- npm install -g squirex
- squirex scan -d ./force-app --sarif gl-capability-report.json || true
artifacts:
reports:
sast: gl-capability-report.json
paths:
- gl-capability-report.json
when: always
GitLab automatically parses SARIF artifacts tagged as sast and displays findings in the Security tab of merge requests.
Apex Testsโ
apex-tests:
stage: test
image: node:18
script:
- npm install -g squirex
- squirex run -d force-app/main/default/classes --junit results.xml
artifacts:
reports:
junit: results.xml
when: always
License Keyโ
A Pro or Enterprise license key is required for CI/CD execution:
variables:
SQUIREX_LICENSE_KEY: $SQUIREX_LICENSE_KEY # Set in CI/CD Settings โ Variables