Reputation: 211
I have a requirement where I need to run certain commands in series in order to build my project. Can I have give all the commands together in series in Jenkins? How am I supposed to do that. If I give it like as shown below :
How can give the commands so that it will execute one after the other. Please help me.
Upvotes: 4
Views: 11882
Reputation: 2584
You can run a series of commands in windows command prompt using & operator.
So below will work from a single line command
env.bat & ant & forced-db.bat
Upvotes: 10
Reputation: 10382
I think it's better to execute separate build steps, like:
Upvotes: 4