Cucumber Appium Multiple Devices

Hi,

I am trying to run my Appium tests that are integrated with Cucumber framework. I am successfully able to run these tests with a single device capability. However, Im trying to run these tests on multiple devices. So for example, I want to run the Login Test feature on two devices. Any help or documentation link is appreciated.

Thank you