With the emergence of trends such as continuous deployment and delivery, the continuous integration server is not limited to integrating your products, but has become a central piece of infrastructure. Many of these jobs depend on the other jobs to be successfully completed. So you would want to proceed with a certain action only if the previous action is completed or do a different action. For example, consider below series of actionable tasks …Continue Reading
It is very critical to keep Jenkins up-to-date with the latest version for security purposes. For production environment, you should always use LTS releases which are long term releases and stable in nature. One should always go through the detailed documentation and changelog related to the newer release. Same can also be found online at https://jenkins.io/doc/upgrade-guide/. Needless to say, you should always backup your jenkins environment before upgrading.
In this tutorial, we’ll discover how to upgrade the Jenkins …Continue Reading
As per best practices, the master node should be only used for storing configuration and backup purposes. Only slaves should be used for build. In this blog post, we’ll discover steps required for adding slave node in the Jenkins farm. Most of these steps will cover how to prepare linux slave server for Jenkins usage. The below commands are for CentOS 7 server but these can be easily translated to other linux distros.
Install Java on the Slave server
Run below command on the server:
sudo yum update sudo yum install openjdk-8-jre sudo yum install openjdk-8-jdk
You can check if jvm is installed properly using java -version. …Continue Reading
In this blog post, we’ll learn how to create a very basic job in the Jenkins. First, login to jenkins with your credentials. From left pane, select new item.
If you are unable to see this icon, it means that …Continue Reading
It might happen while configuring security realm / authorization, your admin account may be locked out and you are no longer able to reconfigure Jenkins.
When this happens, you can fix this by the following steps:
- Stop Jenkins (the easiest way to do this is to kill …Continue Reading