SupportBundle plugin

2 minute readExtensibilityDeveloper productivity

The SupportBundle plugin collects and packages system information, configuration data, security settings, and logs from Cloudbees CD/RO servers into a single ZIP bundle for troubleshooting and support purposes. It automates the collection of the diagnostic information needed for support tickets, incident investigation, and system diagnostics.

The plugin supports selective data collection, so you can choose which components to include in the bundle.

Features

  • System information: Server version, status, info, and license details.

  • Database configuration: Database connection configuration.

  • Server configuration: Server setting categories and server properties.

  • Security settings: System object ACLs, directory providers, users, groups, and SSO configuration.

  • Integration configurations: Email, analytics server, and DevOps Insight configurations.

  • Plugin information: List of all installed plugins.

  • Infrastructure resources: Resources, resource pools, and zones.

  • Project metadata: Project listing with a configurable limit (maximum 1000).

  • Data retention policies: Data retention policy configurations.

  • Recent log snippets: Server status diagnostic messages.

  • Comprehensive log collection: Detailed Cloudbees CD/RO server, agent, repository, Apache, and installer logs through the Flow Log Collector plugin, with time-based filtering and obfuscation of sensitive data.

  • Customizable output: Custom bundle name and output directory.

  • Result property: JSON result with the bundle path, size, timestamp, status, and per-collector outcomes.

  • Artifact publishing: The bundle is published as an artifact, available on the job Artifacts tab.

  • Feature usage report: A separate procedure, GenerateFeatureUsageReport, reports per-feature usage and object counts as a JSON payload and an HTML report.

Prerequisites

  • Cloudbees CD/RO 10.11 or later.

  • Sufficient disk space for bundle storage.

  • Write permission to the output location.

  • (Optional) The Flow Log Collector plugin, for comprehensive log collection.

  • (Optional) An artifact repository server, for artifact publishing.

Integration with the Flow Log Collector plugin

When includeComprehensiveLogs is enabled, the plugin integrates with the Flow Log Collector plugin (EC-FlowLogCollector):

  • Plugin detection: If EC-FlowLogCollector is not installed, comprehensive log collection is skipped.

  • Resource resolution: If logTargetResources is not specified, the plugin uses the resource assigned to the job. If logWorkerName is not specified, it defaults to the resource assigned to the job step, so the ZIP archive is built on the host that merges it into the bundle.

  • Child job: The CollectComprehensiveLogs step launches the Flow Log Collector Collect Logs procedure as a child job, polls for up to 10 minutes, and checks the outcome.

  • Archive merge: The MergeComprehensiveLogs step copies the log archive into the logs/ directory of the bundle. If the child job failed but still produced an archive, the archive is used and a warning is logged.

Known limitations

Agent slot held during log collection: When comprehensive log collection is enabled, the CollectComprehensiveLogs step holds the agent slot for up to 10 minutes while it polls the child job. If the target resource has a step limit of 1, the child job steps, which run on the same resource, start only after the polling step times out. To avoid this, set a step limit greater than 1 on the resource, or use a dedicated resource for log collection with the logWorkerName parameter.