Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 963 Bytes

File metadata and controls

44 lines (32 loc) · 963 Bytes

snowglobe-plugin

Snowglobe plugin for Jenkins

This allows Jenkins jobs to control a SnowGlobe instance (see https://nirima.github.io/SnowGlobe/).

Operations

The operations are relatively simple:

Clone

snowglobe_clone createAction: true, sourceId: 'ci-template', targetId: 'new-globe-name'

Set Variables

snowglobe_set_variables globeId: 'my-globe', variables: 'key="value"'

Get Variables

data = snowglobe_get_variables  globeId: 'my-globe'

Apply

snowglobe_apply createAction: true, globeId: 'my-globe'

State

data = snowglobe_state createAction: false, globeId: 'my-globe'

Destroy

snowglobe_clone remove: true, globeId: 'my-globe'

Remove: set to true to also remove the SnowGlobe after destruction.

In all cases - createAction controls whether to add an action to the build, which will also remove the globe when the CI build is complete.