Appium automation through Jenkins

Hi,
My automation script is in node.js for iOS application and currently I am executing it on my Mac(OS 10) local machine, but I want it to run on jenkins server by creating simulator in jenkins. Anyone having idea about it please give your suggestions.