Continuous Integration

GitHub Actions workflow to enable a simple CI pipeline for a java web app with maven and junit

GitHub Actions workflow for a java web app with maven and junit

In this post we will discuss how to create a simple workflow using GitHub actions with the code uploaded on GitHub. We will take a java web app, modify pom.xml and then build, test and upload package using GitHub actions. Overview We plan to create a CI pipeline or a workflow...

Scripted Pipeline

Structure of a Scripted Pipeline in Jenkins with sample code

There are two ways of writing pipeline code in jenkins, scripted and declarative. Here we will discuss how to start with writing a scripted pipeline in Jenkins. We will write pipeline code for a java web app project using maven, however high level structure will hold true for any project type. First...

Trigger a Jenkins job on code push event in Github via webhooks

Trigger a Jenkins job on code push event in Github via webhooks

Overview In this post, we will discuss a fairly common use case where the source code is stored in version control like Github. We will create a job in Jenkins and integrate it with GitHub. Whenever code is updated in the GitHub repository, an event gets triggered via webhook which...