Appium and Jenkins Integration

So i can always have appium running but there is no way to check if it broke down on me or not other than the failing tests, even the log won’t be useful since there is no hang flag.

I am wondering what the best setup for appium is when trying to schedule jobs from jenkins. Should i start and stop it with each job or create a persistent job that doesn’t end until killed by another job (if even possible).

Any advice would be appreciated, thank you!

Actually your test class/test suite requirement defines life cycle of appium driver.
Jenkins will just runs the test in a suite/ class.

Start your appium driver along with start driver in BeforeMethod and kill it in AfterMethod.
(This approach increases the time in execution little-bit but decreases chances of script/suite to fail completely due to appium unavailability)