Re: How to make a BatchFile Workflow Compatible?

2015-09-04 Thread Jesse Glick
On Wed, Sep 2, 2015 at 10:16 PM, Vinodhini Vijay wrote: > Can I use WindowsBatchScript batch = new WindowsBatchScript("echo hello > windows"); within my code? You probably do not want to do that. What are you trying to accomplish? Start there. Are you writing a

Re: How to make a BatchFile Workflow Compatible?

2015-09-03 Thread Robert Sandell
I don't fully understand what you are trying to do. The steps should only be instantiated within the context of a workflow. If you are implementing you own workflow steps there is some documentation on doing that here: https://github.com/jenkinsci/workflow-plugin/blob/master/step-api/README.md

How to make a BatchFile Workflow Compatible?

2015-09-02 Thread Vinodhini Vijay
Hello All, We create objects of BatchFile and use. But this is not Workflow Compatible ( got to know from the signature of method "perform"). Is there any workflow compatible version of BatchFile already available? Thank you! -- You received this message because you are subscribed to the

Re: How to make a BatchFile Workflow Compatible?

2015-09-02 Thread Robert Sandell
node { bat 'echo hello windows' } On Wed, Sep 2, 2015 at 9:15 AM, Vinodhini Vijay wrote: > Hello All, > > We create objects of BatchFile and use. But this is not Workflow > Compatible ( got to know from the signature of method "perform"). > > Is there any

Re: How to make a BatchFile Workflow Compatible?

2015-09-02 Thread Vinodhini Vijay
Thank you! So, the corresponding class file is WindowsBatchScript from package org.jenkinsci.plugins.durabletask;? Can I use WindowsBatchScript batch = new WindowsBatchScript("echo hello windows"); within my code? Is there any points to be noted, if I use this way ? Sorry if it is really