Skip to content

Build and move plugin packs

A plugin pack is an OCI artifact containing checksum-verified Jenkins plugin files.

KindContentsExport command
profileResolved version-profile plugin setvarroactl export plugins
addonOne local HPI and its manifest metadatavarroactl export plugin-addon
Terminal window
varroactl export plugins \
--profile jenkins-version-2-555 \
--to oci://ghcr.io/varroaci/plugin-pack

Use --plugins-file to supply a local lock instead of resolving it from the cluster. A seed pack should contain the full dependency closure so startup does not require update-center pull-through.

Destinations without an explicit OCI tag receive a floating profile tag and a content-addressed tag containing the lock hash. An explicit tag writes only that tag. Export fails when a plugin checksum cannot be resolved or verified.

Terminal window
varroactl export plugin-addon \
--hpi ./example-plugin.hpi \
--to oci://ghcr.io/varroaci/plugin-addon:example-plugin-1.0.0 \
--description "Example plugin" \
--tag approved

The HPI manifest supplies the plugin name, version, required core, and dependencies. Addon packs contain exactly one plugin.

Sources and destinations support oci://, dir://, and tar://:

Terminal window
varroactl import \
--from oci://ghcr.io/varroaci/plugin-pack:jenkins-version-2-555 \
--to dir:///tmp/plugin-pack

Upload to an update center with a destination-only uc:// URL:

Terminal window
export VARROACTL_UC_TOKEN='<import-token>'
varroactl import \
--from tar:///tmp/plugin-pack-2-555.tar.gz \
--to uc://update-center.example.com

Use --registry-config for registry credentials. Restrict --insecure to trusted development networks.

PartMedia type
Manifest artifactTypeapplication/vnd.varroa.pluginpack.v1
Configapplication/vnd.varroa.pluginpack.config.v1+json
Plugin layerapplication/vnd.varroa.plugin.hpi.v1

Consumers reject missing or unknown pack kinds, checksum mismatches, and malformed structured annotations. Dependency versions in addon metadata are minimums, not exact pins.

See update center operations for seeding and pull-through behavior.