xcode_server_get_assets¶
Downloads Xcode Bot assets like the .xcarchive
and logs
This action downloads assets from your Xcode Server Bot (works with Xcode Server using Xcode 6 and 7. By default, this action downloads all assets, unzips them and deletes everything except for the
.xcarchive
.
If you'd like to keep all downloaded assets, passkeep_all_assets: true
.
This action returns the path to the downloaded assets folder and puts into shared values the paths to the asset folder and to the.xcarchive
inside it.
xcode_server_get_assets | |
---|---|
Supported platforms | ios, mac |
Author | @czechboy0 |
1 Example¶
xcode_server_get_assets(
host: "10.99.0.59", # Specify Xcode Server's Host or IP Address
bot_name: "release-1.3.4" # Specify the particular Bot
)
Parameters¶
Key | Description | Default |
---|---|---|
host |
IP Address/Hostname of Xcode Server | |
bot_name |
Name of the Bot to pull assets from | |
integration_number |
Optionally you can override which integration's assets should be downloaded. If not provided, the latest integration is used | |
username |
Username for your Xcode Server | '' |
password |
Password for your Xcode Server | '' |
target_folder |
Relative path to a folder into which to download assets | ./xcs_assets |
keep_all_assets |
Whether to keep all assets or let the script delete everything except for the .xcarchive | false |
trust_self_signed_certs |
Whether to trust self-signed certs on your Xcode Server | true |
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action xcode_server_get_assets