title: jenkins integration xcode - shell command
body: <p>I have integrated my xcode project with jenkin.I have got xcode build succeeded, creating ipa but at the end "Build step 'Execute shell' marked build as failure" &amp; Could not connect to SMTP host to send mail. Finished: FAILURE.</p>
  
  <p>My Shell script is, xcodebuild -target EmailTests -configuration Debug -sdk iphonesimulator | ./ocunit2junit.rb SMTP details copied from Mac Mail--> Preferences to Jenkins Configuration.</p>
  
  <p>Kindly help me to clear this issue.</p>