- All Implemented Interfaces:
- org.drools.runtime.process.WorkItemHandler
public class JenkinsRemoteWorkItemHandler
extends Object
implements org.drools.runtime.process.WorkItemHandler
This handler uses Jenkins CLI channel to remotely interact with a Jenkins instance.
The idea is to to implement your test plan as a business process in Guvnor. Then start
the business process from jbpm console. This handler needs to be supplied as a .jar file
to the jbpm console to provide functionality for this new kind of business process
service task. This new work item (or service task) is able to launch Jenkins job remotely,
wait for the job result and send it back to the process instance running in the session
of the jbpm console.
Inspired by:
https://github.com/jenkinsci/cli-channel-demo
- Author:
- Jiri Svitak