With Oracle Developer Cloud Service, you can integrate your existing Jenkins or Hudson setup - whether they are on-premise or cloud based. Currently, there are three different integration points which are enabled using Webhooks. Let’s look at each of these

 

Jenkins Build notifications

This is made possible by an inbound Webhook which accepts build notifications from a remote Jenkins server

 

Configuration summary

  • Create a Webhook in Developer Cloud (type: Jenkins - Notification Plugin)
  • Configure your external Jenkins to use the URL provided in the Developer Cloud Service Webhook configuration

 

Here is snapshot of the configuration in Oracle Developer Cloud

 

 

This is how the resulting Activity Stream looks like in Oracle Developer Cloud. Clicking on the hyperlinks available in the Activity Stream will redirect you to artifacts in the remote Jenkins instance e.g. build, commit, git repository etc.

 

 

 

You can refer to this documentation section for more details

 

Jenkins Build Trigger integration

You can configure an outbound Webhook which triggers a build on a remote Hudson or Jenkins build server when a Git push occurs in the selected repository in Developer Cloud

 

Configuration summary

  • Configure external Jenkins to allow remote invocation of builds
  • Create a Webhook of type Hudson/Jenkins - Build Trigger
    • Provide basic info, configure authentication and trigger

 

Here is snapshot of the configuration in Oracle Developer Cloud

 

 

 

 

You can refer to this documentation section for more details.

 

Jenkins Git Plugin integration

This is another outbound Webhook which can notify another Hudson or Jenkins build job in response to a Git push in Developer Cloud service. The difference between this and previous Webhook is that this will trigger builds of all the jobs configured for the same Git repository (in Developer Cloud service) as sent in the Webhook payload

 

Configuration summary

  • Create a Webhook of type Hudson/Jenkins Git Plugin
  • Provide the Git repository details as a part of the external Jenkins configuration and activate SCM polling

 

 

You can refer to this documentation section for more details.

 

**The views expressed in this post are my own and do not necessarily reflect the views of Oracle.