you wouldjust put this in the batch step: *cd c:\xyz\bin* *call asadmin start-domain *
the "call" makes jenkins wait for the batch file to complete On Fri, Sep 1, 2017 at 9:17 AM, <[email protected]> wrote: > Hi > > I am new user to Jenkins and am blocked at one point. In my case I created > a freestyle project and then in the build I choose "execute windows batch > command" and here I want to go a directory and there is a bat file, I would > like to run it: To be precise in the command prompt I would like to have > the following: > > *cd c:\xyz\bin* > *c:\xyz\bin>asadmin start-domain * > > How do I do it? > > I am really sorry for the basic question. But I tried looking for it, and > I still dont understand properly. I would be grateful, if someone could > help me in this regard? > > Thank you & Regards, > Fred > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" 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-users/25932e0b-f8e1-4c7c-a9aa-e277795d79c1%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/25932e0b-f8e1-4c7c-a9aa-e277795d79c1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Dick Ginga Build Engineer [email protected] -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/CAL3PpaXTPdut-CxtJb%3D5eExiMq9rFHNO%3DL2kRKNdUQG57qU4cQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
