Skip to content

When this plugin detects a change in value of the latest Perforce changelist id, it triggers a release off a template in XL Release. The changelist id is passed to the release as a variable.

License

xebialabs-community/xlr-perforce-changelist-trigger-plugin

Repository files navigation

XL Release Perforce Changelist Trigger plugin

CI status

Build Status License: MIT Github All Releases

Overview

  • The plugin will repeatedly query a Perforce repository using the latest Java interface JAR file (p4java-2017.1.1508216-bundle.jar the time of development) for the latest changelist applied to the repo. The polling interval is configurable.
  • Whenever the plugin detects a change in value of the latest changelist id, it will trigger a release off a template in XL Release. The changelist id is passed to the release as a variable.

Change history

  • 1.0.2 Original release
  • 2.0.0 Rewrite, using Configuration instead of HTTPConnection

Installation

  • Unzip distribution file.
  • Copy p4java-2017.1.1508216-bundle.jar to xl-release-server/lib.
  • Copy xlr-perforce-changelist-trigger.jar to xl-release-server/plugins.
  • Restart XL Release server.

Configuration

Perforce server reference

  • Define a reference to your Perforce server on the XL Release configuration panel.

screenshot of perforce server confg

Perforce trigger

  • Then define a release trigger that references the server. Note that the changelist id is available as a trigger variable.
  • You can filter the changes that trigger the release by a workspace. Map the depot paths you want to watch in a new workspace, then configure the release trigger to use that workspace.

screenshot of perforce trigger config

screenshot of perforce server config

About

When this plugin detects a change in value of the latest Perforce changelist id, it triggers a release off a template in XL Release. The changelist id is passed to the release as a variable.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages