Copado Webhook Command Line Interface

Updated 3 months ago by Copado Solutions

Command Line Interface for the Copado Webhooks API

With this simple program you will be able to start a Copado job and wait for its completion. The process will exit gracefully if the job was successful or fail exit(1) otherwise.

Installation

  1. Download copado.py or clone this GitHub repository.

Prerequisites

  1. Webhook URL: Review Webhooks API.
  2. API key: In order for the plugin to start the job and check on the status (via the Copado Webhooks API), it requires an API key.
    To create an API key, login to your Copado account and navigate to the Account Summary tab, and finally to the API Key sub-tab.

Usage

  1. Open your console.
  2. Type in: $>python copado.py -url URL
  3. In the URL parameter, paste the Webhook URL and make sure that Salesforce's Id and API key parameters are set.


How did we do?