Copado Plugin for Jenkins
With this plugin you can add a build step to your Jenkins project that executes a Copado Webhook API task. You would add this step after your Copado setup is finished. After the Copado Webhook is triggered, the plugin will wait for the job run to finish (or timeout). If the Job step is successful, your pipeline will continue to the next step in your pipeline; however, if it fails (or times out), the build will be marked as failed.
Installing
- Download and unpack the source
- From terminal
mvn clean install
- Copy
target/copado.hpi
to$JENKINS_HOME/plugins
- Restart Jenkins
Prerequisites
- Webhook URL - review Webhook API
http://docs.copado.apiary.io
- API Key - in order for the plugin to start the Job and check on the status (via the Copado Webhook 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 on the API Key sub-tab.
Usage
- Open your project configuration from the Jenkins dashboard.
- In the build section, click
Add build step
and selectCopado Webhook
. - In the
Webhook URL
field, paste in the URL and make sure that Salesforce Ids and API Key parameter are set. For theAPI Key
field, paste in the API Key from above. - Save your Jenkins project.
Change Log
2015-Nov-16: First release