Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Exposes Continuum commands that are available via its REST API as pipeline steps.

 

Table of Contents

Requirements

Usage

Common step parameters:

  • serverUrl - Continuum server's base URL
  • credentialsId - Id of the stored credentials which contains the Continuum API token,
  • apiToken - Continuum API token. When specified, this parameter's value has precedence over credentialsId value,
  • markUnstable - When set, mark current run as unstable if the step execution fails.

Commands

Table of Contents
maxLevel5
minLevel5
includectm.*

ctmInitiatePipeline
Code Block
languagegroovy
themeEclipse
ctmInitiatePipeline serverUrl: 'https://continuum.server.url', credentialsId: 'Continuum', project: 'My Ctm Project', definition: 'My pipeline definition', group: 'master', environmentVariables: '*'

The id of the initiated pipeline instance is recorded in jenkins.plugins.continuum.actions.PipelineInitiatedAction instance within the current Run.

ctmPostPiData, ctmSetPiData
Code Block
languagegroovy
themeEclipse
ctmPostPiData serverUrl: 'https://continuum.server.url', credentialsId: 'Continuum', key: 'build_complete', value: 'true', pi: 'running_pipeline_instance_id'

...

If the pi parameter is not specified, the ids that are recorded in current run's jenkins.plugins.continuum.actions.PipelineInitiatedAction instance are used.

Version History

Version 1.0.1 (November 2017)

...