> I wonder which versions of jenkins and workflow plugin I should use in the > pom.xml?
It depends on what APIs your plugin is using. Useful information here: https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md#build-steps > Should I extend AbstractSynchronousNonBlockingStepExecution or > AbstractStepExecutionImpl? I guess you want to run some external task (ansible), so probably you want to extend AbstractSynchronousNonBlockingStepExecution, since it does not block the CPS VM thread (it runs in a separate thread). > An example of AbstractStepExecutionImpl implementation would be greatly > appreciated AbstractSynchronousNonBlockingStepExecution is a partial example :-) But there are many more, for example: https://github.com/jenkinsci/workflow-plugin/blob/c2afa61d28b2922df955bf7f6b45e456e898c10c/basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/SleepStep.java > Should I upgrade the Builder subclass to implement the SimpleBuildStep > interface? Sure. Following the rules in the Javadoc: http://javadoc.jenkins-ci.org/jenkins/tasks/SimpleBuildStep.html On Tue, Sep 15, 2015 at 3:24 PM, jcsirot <[email protected]> wrote: > Hi, > > I am currently working on the support of the workflow plugin for the ansible > plugin and I'm facing some questions. > > 1. I wonder which versions of jenkins and workflow plugin I should use in > the pom.xml? For the moment I'm using Jenkins 1.580.1 and workflow 1.4.2 but > the docker workflow plugin is using Jenkins 1.596.1 and workflow > 1.7-alpha-1. > > 2. Should I extend AbstractSynchronousNonBlockingStepExecution or > AbstractStepExecutionImpl? I'm not sure the clearly understand the impact of > synchronous and asynchronous executions on the workflow engine. An example > of AbstractStepExecutionImpl implementation would be greatly appreciated :-) > > 3. Should I upgrade the Builder subclass to implement the SimpleBuildStep > interface? > > Thanks in advance for your replies and advice. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/a2112371-9617-4c9a-9dd7-dd9c37fb0266%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Antonio Muñiz Software Engineer CloudBees, Inc. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAJc7kzQ9s8MNA_ngCtrOfDVri95OOLH%3D3wVf1Aqpf0OZTDAsNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
