Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
255 views
by
edited by

actually we have jenkins batch file in our remotemachines desktop. we want to that jenkins batch file to be continuously run without stopping .

but what happens is when the remotemachines is restarted the jenkins batch file also closing .so i want that batchfile should be automatically run even after machine restarted. we have one option that is if we run the jenkins as a service then we can make that to be continuously running.but with that we are not able to generate the html reports so please help me.

1 Answer

0 like 0 dislike
by

Add your batch file to startup folder.

Here are steps: (For Windows 8 and 10)

  1. Create a shortcut to the batch file.
  2. Once the shortcut has been created, right-click the file and select Cut.
  3. Press the Start button and type Run and press enter.
  4. In the Run window, type shell:startup to open the Startup folder.
  5. Once the Startup folder has been opened, click the Home tab at the top of the folder and select Paste to paste the shortcut into the folder.
...