We have been working on a scenario where we want to automate testing, build, deploy and revert in one Jenkins job. Currently, we are using separate Jenkins jobs for testing, deploying and reverting the code changes. We would be automating these tasks using AWS CodeDeploy with Jenkins. Jenkins can provide us the functionality to run...
In Jenkins by default user authentication is not enabled but we can establish the user authentication from the Global Security section. We have to create users for team members and it maintains all user in its own database. But we can also configure Jenkins with Google oAuth. So, if you are leveraging Google services and already have...
Selenium is a tool widely used for automating testing of web applications. One step ahead, integrating the selenium with Jenkins takes it to the next level. In this blog, we would be configuring Jenkins to run selenium test cases on an ubuntu environment. Scenario: Configure Jenkins to perform Selenium test cases with one click. ...
The Jenkins is the best freeware tool to fasten your development cycle. It helps you to increase team productivity with CI (continuous integration) and CD (continuous delivery). In the development phase, you have to test changes more frequently. A single-click build and deploy job reduce time to validate your modified codebase, and...
Jenkins has been primarily used for automating jobs and tasks on Linux servers. In this blog, we will be configuring Jenkins to execute Powershell scripts on Windows. This blog will not be covering Jenkins server set up steps on Windows. You can refer to the following link for Jenkins installation. Powershell Plugin Jenkin's...
Building compressed files of Springboot application is a tedious task and its continuous deployment using Jenkins is even more so. To simplify the above predicament, a new Gradle plugin in Jenkins has been used. So, our objective in this blog is to make use of the relation between Gradle and Springboot. Let us take it further. ...
I was recently searching for something on Google and came across this instance of what might be a logical vulnerability prevailing across multiple web applications. I was searching for publicly accessible Jenkins console through Google Dorking. My search query listed some of the websites that had Jenkins as a part of their domain...
Jenkins provide continuous integration to software development. Jenkins job builds can be started by various methods, like manual triggering, scheduled cron-like mechanism, dependency builds, and by Jenkins API calls. This blog will cover Jenkins API Integration : Trigger Job Remotely via Jenkins API. 1. First, we need Jenkins API...
Building a Docker image from a Dockerfile, creating a latest tag and pushing it on DockerHub are equivalent to executing three different commands manually. This could be automated by creating a bash script. Well, that was not a big deal until I had a requirement where I needed to perform above actions and additional task of immediately...
This blog post shows how to configure maven project in Jenkins. Follow these steps for Jenkins Maven project configuration: Step 1 - Starting Jenkins a) Download Jenkins Zip file and extract it(i have downloaded for windows as i am setting it up on windows7) b) In cmd go to the path you have extracted Jenkins (eg.C:\Program Files...
At times you encounter a use case where you need to run a Jenkins job remotely from another Jenkins instance. Well, there is a way to achieve this by using Parameterized Remote Trigger plugin. Let's see how we can trigger parameterized or non-parameterized jobs on remote Jenkins server from another Jenkins server. Demonstration ...
There are many occasions when we require our jenkins jobs to be executed in a predefined order. Jenkins Coordinator Plugin can help us achieve that. This post will walk you through how to use this plugin to run your jobs in a particular sequence. Suppose we have four jobs : Job1, Job2 ,Job3, Job4. We would like to execute Job1...