Fetch uptime metrics from Atlassian StatusPage for Jenkins gating to use.
- Configure connection to StatusPage:
unclassified:
statuspageGating:
sources:
- label: "StatusPage"
apiKey: "foobar" # Encrypt this in production setting. Optional field
url: "https://acme.com" # Only needed when different from https://api.statuspage.io/v1/
page: "foo"
(Or manually on global config page)
- See what metrics are available to Jenkins at JENKINS_URL/gating/.
- The resource names will have the form
${CONFIGURED_LABEL}/${REPORTED_RESOURCE_NAME}
. - To collect metrics from multiple pages, you have to declare multiple sources.
- The resource names will have the form
- Configure your builds to wait for your infra.
Licensed under MIT, see LICENSE