title: Fastlane integration with Jenkins
body: <p>I have been playing with Fastlane, to automate common processes that we always go through when publishing app to the TestFlight for example. I have this lane (in Fastfile):</p>
  
  <pre><code>default_platform(:ios)
  
  lane :beta do
   enable_automatic_code_signing
    increment_build_number
    gym
    # Use pilot to upload your app to testflight
    pilot(distribute_external: false)
  end
  </code></pre>
  
  <p>and this is Gymfile</p>
  
  <pre><code>scheme("my-scheme")
  
  output_directory("./fastlane/builds")
  
  include_bitcode(true)
  
  include_symbols(false)
  
  export_xcargs("-allowProvisioningUpdates")
  </code></pre>
  
  <p>Now this allows me to send a build to a TestFlight.</p>
  
  <p>But, what would be better is that I can use Jenkins along with Fastlane, so it each time, a commit is made on specific branch (say dev), makes a build and sends it to TestFlight. What would be a way, to perform all these Fastlane specific actions, eg. gym, pilot etc... with Jenkins? </p>