-
Notifications
You must be signed in to change notification settings - Fork 10
Job Hooks
Skye Shaw edited this page Apr 15, 2018
·
5 revisions
Jobs hooks are currently only supported for upload jobs.
Job hooks allow one to specify a command to be executed when a job completes. Information about the job is made available via the following environment variables:
Variable | Description |
---|---|
ITMS_JOB_ID |
Job id |
ITMS_JOB_TARGET |
Job target, varies based on the job type |
ITMS_JOB_PACKAGE_PATH |
Absolute path to the package, if the job contains one (can be empty) |
ITMS_JOB_TYPE |
The type of job, currently always upload
|
ITMS_JOB_STATE |
Job state, either success or failure
|
ITMS_JOB_CREATED |
Time the job was created, given in YYYY-MM-DD HH:MM:SS ±ZONE format (24 hour clock) |
ITMS_JOB_COMPLETED |
Time the job finished, given in YYYY-MM-DD HH:MM:SS ±ZONE format (24 hour clock) |
ITMS_ACCOUNT_USERNAME |
Username of the package's iTunes Connect account |
ITMS_ACCOUNT_SHORTNAME |
Shortname of the package's iTunes Connect account (can be empty) |
ITMS_ACCOUNT_ITC_PROVIDER |
iTunes Connect provider name (can be empty) |
Job hooks with a non-zero exit code are considered an error.
Made by ScreenStaring