Publish to App Repository
publish_to_app_repoPublishes a ServiceNow application version to the company's application repository, making it available for installation on other instances.
Instructions
Publish an application to the company's ServiceNow application repository using the CI/CD API. This is a MUTATIVE, LONG-RUNNING operation that blocks until publishing completes or times out (default: 30 minutes).
This makes the application version available for installation on other instances in the company. Use list_company_apps or lookup_app to find the scope and sys_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| scope | Yes | The scope name of the application to publish (e.g., "x_acme_my_app"). | |
| sys_id | Yes | The sys_id of the application to publish. | |
| version | No | Version number for the published application. | |
| dev_notes | No | Developer notes for this version. | |
| timeout_minutes | No | Maximum time to wait for publishing to complete, in minutes. Default 30. |