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):
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
and this is Gymfile
scheme("my-scheme")
output_directory("./fastlane/builds")
include_bitcode(true)
include_symbols(false)
export_xcargs("-allowProvisioningUpdates")
Now this allows me to send a build to a TestFlight.
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?