Execution of appium scripts through teamcity

Currently we are trying to execute our appium scripts on real iOs device remotelty through teamcity.
But we dont have any documentation for the same.
Any help would me much appreciated.

steps:

  1. make your code execute in command line
  2. with teamcity add this command to “Command Line” build step

you may replace “Command Line” to some more specific depending of your code implementation e.g. “maven” command.

Thanks Aleksei!

What exactly we want is as followed.

1.Make a teamcity build.
2.And above teamcity build will trigger the scripts remotely on a mac and then execute these test on an iOS device connected to the mac.