There are times when you would need to do an offline installation of the Jenkins. This may be to meet certain requirements of the workplace that you are operating in. I came across this issue some time back and internet is woefully out of articles for proper steps on this one. In this blog post, we’ll learn how to do an offline installation of Jenkins.
Install OpenJDK Java
First, we need to check what version of java is installed on the machine using: Read More »
As you are probably already aware of, Jenkins build has slight variant of blue status has the build success color. Generally, the green color is universal indicator of success status. If you want, you can change job status to green for success status.
For this, login to Jenkins administration console. Go to Manage Jenkins -> Manage Plugins and then search for Read More »
In one of the previous blog post, we have discovered how to build GitHub project using Jenkins. In that post, since it was a public repository, we did not tried to authenticate to GitHub. Here, we’ll cover how to use SSH keys to authenticate to GitHub repos. This applies to both public and private source code repositories.
For this post’s purposes, we’ll use a sample source code repository at https://github.com/goyalmohit/DemoRepo01. You can use any repository on which you have required access.Read More »
Jenkins admin console does not offer a good way to remove Plugin. You need to uninstall plugin one at a time and it can be cumbersome at times. However, you can just go to $JENKINS_HOME directory, navigate to plugins directory.This contains all the files for plugins:
Build jobs are at the heart of Jenkins. These days GitHub has become an excellent choice for keeping source code repositories due to its features. In this blog post, we’ll cover steps required to build a GitHub project using Jenkins.
To start with, login into Jenkins admin console and go to Manage Jenkins -> Manage Plugins -> Available and then search for GitHub Plugin:
This may install other dependent plugins required for it to workRead More »
PowerShell is now a 10 year old scripting technology. It is a must know for everyone who is working as sysadmin for one of the Microsoft server products whether its Windows server, SharePoint, Exchange, System Center etc. In fact, its part of Microsoft Server stack basic requirements, and no product is passed to release if it does not match this requirement. So its supported by all of the Microsoft Server products in one way or the other. It’s therefore naturally to assume that build admins need to use it during one of their builds. In this blog post, we’ll cover how to execute PowerShell related commands or scripts in a Jenkins build. Read More »
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 Read More »
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 Read More »