Configuring Jenkins as an event source
Jenkins helps automate software development processes such as builds to allow continuous integration. You can set up an integration with Netcool® Operations Insight® to receive notifications about jobs from Jenkins projects.
Before you begin
If your Netcool Operations Insight installation is using a
certificate authority (CA) that is not well known, then you will need to ensure that your CA is
trusted by Jenkins. Complete these steps to convert your CA certificate into the correct format and
import it into the Jenkins trust store.
- Run the following
command:
openssl pkcs7 -in cert.pem -out cert.crt -print_certs
- Import your certificate to the JVM keystore as a trusted
certificate:
keytool -storepass <store_password> -import -noprompt -trustcacerts -alias <certificate_alias> -keystore cacerts -file cert.crt
- Restart your Jenkins server process to pick up the new certificate.
- Ensure your Jenkins server host can resolve the domain name of your Cloud Event Management installation.
- Modify the DNS server or add the host and domain name to the hosts file.
About this task
Notifications can be sent for single job stages or all stages of a job. Configure each project separately from which you want to receive notifications. The notifications are raised in event management as events. The events are then correlated into incidents.
Important: The Jenkins server needs the Notification Plug-in to send the
notifications.
KJP 9-JUN-20 Ideally it should also explain how to extract the default CA cert that comes with openshift for that environment