Continuous Deployment with Microservices using Kubernetes and Jenkins

What is a Microservices?Before understanding Microservices, let’s discuss about Monolithic. In a monolithic architecture, all code is in one principal executable file which can be tougher to troubleshoot, test and update. Hence, we can deploy the code base of our system in a project and any updates in the system will be applied using a continuous integration (CI) Read more…

SHARE THIS

How to Use GitHub Plugin for Jenkins?

In order to integrate Jenkins with GitHub, all you require is a plugin. The GitHub plugin for Jenkins allows you to schedule your build and facilitates easy transfer of data from the GitHub repository to Jenkins machine. Moreover, it also triggers each build automatically after each commit. This not only saves time, but also allows Read more…

SHARE THIS

How to Manage and Assign Roles to Generate Build Reports in Jenkins?

Jenkins allows administrators to manage various security roles with the help of Role Strategy Plugin. This allows implementing role-based strategies and simplifies user management. Permissions related to Job, Run, View, SCM, etc. can be set by creating global roles, like admin, anonymous, etc. You can also assign earlier created roles to users. Once you login Read more…

SHARE THIS

How to Build Maven with Jenkins?

Maven fulfills the need to build a standard project layout. In addition, it allows proceeding quickly on a new project and reduces the configuration needs while boosting the build report automatically. Maven plug-ins are included in almost all Jenkins releases. You need to have at least one Maven installation. Configure Maven installation by navigating to Read more…

SHARE THIS

How to Configure Email Notification in Jenkins?

Open Jenkins using the following URL: http://localhost:8080/ on any browser. 2. Click the ‘Manage Jenkins’ menu option displayed at the right side of the screen. You will be redirected to the ‘Manage Jenkins’ page, where you need to select the ‘Manage Plugin’ option. 3. Click the ‘Available’ tab present at the top of the ‘Manage Read more…

SHARE THIS

Integrating Jenkins with GitHub for Windows

Jenkins Installation   Download the latest Jenkins “.zip” file from the link: http://mirrors.jenkins-ci.org/windows 2. Extract the Jenkins file and download the “setup.exe” file. 3. Double-click the setup.exe file to open the Jenkins setup wizard. 4. Click the ‘Next’ button and set the Jenkins path. 5. Click the ‘Next’ button, and you will be redirected to the Read more…

SHARE THIS

How to Retry a Failed Build in Jenkins?

Retry builds after failure in Jenkins Open Jenkins using the URL: http://localhost:8080/ on any browser. 2. Click the ‘Manage Jenkins’ menu displayed on the right side of the screen. You will be redirected to the ‘Manage Jenkins’ page, where you need to select the ‘Manage Plugins’ option. 3. Click on ‘Available’ once you are at Read more…

SHARE THIS

How to Sync the Latest Code From Perforce Repository Using Jenkins?

Scenario Suppose you are running your scripts on client Machine or VM machine. In that case you have to always sync the latest code on the target machine manually. However, if you are using Jenkins, then you can implement and sync the latest code easily before running the scripts.  Steps  Go to the target machine Read more…

SHARE THIS

How to Change the Data into Properties File Using Jenkins?

We often face issues while running automated test cases on a Virtual Machine (VM). It is mainly due to the slow responsiveness. Running the scripts on VM requires us to change the data into configuration file (Browser, Server, Username, and Password) every time we access the VM. However, the situation might get worse, as you Read more…

SHARE THIS