setup_jenkins

Setup xcodebuild, gym and scan for easier Jenkins integration

  • Adds and unlocks keychains from Jenkins 'Keychains and Provisioning Profiles Plugin'
  • Sets code signing identity from Jenkins 'Keychains and Provisioning Profiles Plugin'
  • Sets output directory to './output' (gym, scan and backup_xcarchive)
  • Sets derived data path to './derivedData' (xcodebuild, gym, scan and clear_derived_data, carthage)
  • Produce result bundle (gym and scan)

This action helps with Jenkins integration. Creates own derived data for each job. All build results like IPA files and archives will be stored in the ./output directory.
The action also works with Keychains and Provisioning Profiles Plugin, the selected keychain will be automatically unlocked and the selected code signing identity will be used. By default this action will only work when fastlane is executed on a CI system.

setup_jenkins
Supported platforms ios, mac
Author @bartoszj

1 Example

setup_jenkins

Parameters

Key Description Default
force Force setup, even if not executed by Jenkins false
unlock_keychain Unlocks keychain true
add_keychain_to_search_list Add to keychain search list :replace
set_default_keychain Set keychain as default true
keychain_path Path to keychain
keychain_password Keychain password ''
set_code_signing_identity Set code signing identity from CODE_SIGNING_IDENTITY environment true
code_signing_identity Code signing identity
output_directory The directory in which the ipa file should be stored in ./output
derived_data_path The directory where built products and other derived data will go ./derivedData
result_bundle Produce the result bundle describing what occurred will be placed true

* = default value is dependent on the user's system


To show the documentation in your terminal, run

fastlane action setup_jenkins

View source code


Back to actions