This document describes the functionality provided by the xlr-xlrelease-plugin.
See the XL Release Documentation for background information on XL Release and release concepts.
The xlr-xlrelease-plugin is an XL Release plugin that allows you to:
For XL Release version 4.8.x you'll need at least version 1.7.x of the plugin.
XL_RELEASE_SERVER/plugins
directory.Create and Start SubRelease
templateName
: Name of the template from which to create the subrelease (string
) releaseTitle
: Name of the subrelease (string
)releaseDescription
: Description of the subrelease (string
)variables
: Comma-separated key-value pairs for the values of variables required by the subrelease, e.g. var1=value1,var2=value2 (string
)asynch
: If [false], the task will wait for the subrelease to finishgateTaskTitle
: Title of the gate task in this release that should wait for the subrelease to complete. Skipped if not specified (blank).Create Template
templateName
: Name of the template to create (string
)tags
: Comma-separated list of tags to associate with this template e.g. tag1,tag2 (string
)Delete Phases
phases (deprecated)
: Comma-separated list of names of phases in the current release to delete e.g. phase1,phase2 (string
)phases
: set_of_string
, defining all phases to be deleted.Get Task ID
taskTitle
: Title of the task to get the id for (string
)Get Tags
tags
: A List of the current tags for the releaseAdd Tag
newTag
: New tag to add to the list of tags for the releasetags
: A List of the current tags for the releaseSet Tags
newTags
: A List of tags to replace the tag list withtags
: A list of the current tags for the releaseAdd And Remove Tags
tagsToRemove
: A list of tags to remove from the releasetagsToAdd
: A list of tags to add to the releaseAdd XL Deploy task
releaseName
: Name of the release where XL deploy task needs to be addedphaseName
: Name of the phase, task will be added at the bottom of the phasetaskTitle
: Title of the task to be createdxldServer
: XL deploy server to be useddeploymentPackage
: Version of the application to be deployed.deploymentEnvironment
: Environment to deploy to.rollbackOnFailure
: Rollback on failure controls whether or not the task is rolled back.Wait for release status
Release Status
can be used in preconditions of the monitoring release to control which action to take. Note that this task is polling the status every 5 seconds, so it can miss if a target release went through a status too quickly.Release ID
: ID of the target release to wait for. Currently on releases are supported, you cannot wait for a phase or a task.In Progress
, Completed
etc: checked if this task should complete when the target release is in one of the corresponding statuses.Release Status
: The status of the release when this task finishes. It will be one of the checked statuses.