I am publishing series of blogs on DevOps tools practice. The interested people can keep watching this site or you can subscribe/follow.
In this blog we will see what are the pre-requisites for Jenkins 2.9 to install and how to install Jenkins.
To setup Jenkins, you need to have Java 9 in your local machine.
Hence in the Step1 to setup Java, you need to follow the below steps:
STEP1: How to download and install JDK SE Development kit 9.0.1 ?:
go to URL:
You will see the below page [as on today’s display]
From this web page, Click on Windows file jdk-9.0.1_windows-x64_bin
It will download.
Double click on the file.
You will see the series of screens, while it is doing installation. I have copied some of them here.
You can change the directory if you want, in the above screen.
Finally you should get the below screen as installed it successfully.
Now, you need to set the Java environment and path variable in Windows setting.
My Java directory path is:
You need to edit the below path variables also for the latest path:
After you have done the settings, you can check the java version as below in a command prompt:
You should get the same version.
Now, You need a simple java program to run and check your compiler and runtime environment.
Please goto google search and check for “Java Hello wordl program”.
Follow the below URL:
Copy the program into a text file named as hellowworld.java
Then compile and run the program as below:
If you are getting the above, then your installed java software is working fine.
You need to remember the below:
To compile this program you need to use the below command in command prompt of that program directory:
To run the java program you need to use the below command:
Now, you can plan for setting up Jenkins.
STEP2: How to setup Jenkins on Windows ?:
Follow the below link to download Jenkins for Windows-x64
It downloads the installer as below:
You can see the downloaded installer file for Jenkins.
How to install Jenkins?:
Now you can copy this file into a new directory as Jenkins.
I have copied into the below directory.
You need to unzip this file.
You can see the new directory is created with its unzipped files:
You can double click on it and can see the below screen:
I have changed the path as below:
Click on install and say “Yes” in windows confirmation screen.
You can see the below screen:
Once you click on finish, it will take you to a browser:
Jenkins will have a default user id as “admin” and the password.
The password is available from the given path.
You can open this file in notepad as below:
Now, copy this password as below into windows clipboard.
Now you goto the Jenkins browser and paste this password.
Close your notepad.
Now, on browser press continue.
You can see the Jenkins initial screen as below for plugins selection:
Jenkins will have 100s of plugins. But there are default plugins those can be used initially to save you disk space and time. Hence now, you click on “Install suggested plugins”.
It will show the below screen as it is working for this activity:
You can see in the right side window the tasks what Jenkins is doing:
You can also watch as it is doing one by one the plugins installation and the tasks on right side.
It might take more than 30 mts depends on your internet speed and the RAM.
I am copying some of the screens as it is moving on …
Once the plugins are installed, you can see the 1st screen to setup your 1st admin user id and password as below:
You can enter the details and click on “Save and Finish” button.
Now, it shows the below screen with Jenkins readyness to use:
When you click on “Start using Jenkins” button,
You can see the below screen as in the beginning of the Jenkins usage:
Please observe the right corner and verify your created user id.
Now, let us do some login and logout operations to make sure it is working.
When you logout you can see the below screen:
Now let us understand the url of Jenkins server which we are using:
When we install Jenkins in any machine either Windows or Linux.
By default its url should be : http://localhost:8080/
Your local host is your current machine Ip address.
You can see the screen now with the above url:
Now, you can try one more option, check your ip address from command prompt as below:
You can pickup the 1st IP address which displays from the command prompt screen.
And key-inn the below url in your browser:
Your ip need to be used in place of 192.168.137.1
Now, let us see What is 8080?:
Every server software creates a port address to access its web pages from the installed machine. In our case Jenkins has been configured on 8080 port as default. The 8080 is a default port for Jenkins. Similarly other server softwares also will have their specific ports.
Now, I have used a different browser using the above url to access Jenkins web page as below:
Using the login screen I am logging into my admin user id: vskumar2017 , which was created earlier.
You can also check in your windows services on Jenkins running status.
Please note on this setup, you have made a standalone Jenkins by using your PC or Laptop.
Now, you can restart your windows machine. You need to start Jenkins as fresh service.
- Open command prompt.
- Go to the directory where your war file is placed and run the following command: java -jar jenkins.war
- OR One more option is; go to your Jenkins directory in CMD window and execute: jenkins.exe start
Open browser and Use you can check the Jenkins access. It should be showing the login page.
How to remove Jenkins from your system?:
If you want to remove Jenkins from your system, you can find the Jenkins Windows installer file from the Jenkins directory and double click on it. You can see the below window to choose your action:
So far we have seen the installation of Java 9 and Jenkins.
Some times, you might need to configure other servers [Ex:Tomcat, etc,]. They might also use 8080 port. Hence there will be conflict. We need to change the port# in that case.
Now, How to change your 8080 port to other port#?:
Please find Jenkins.xml in Jenkins dir:
In my system I have the URL:D:\Jenkins\Jenkins 2.9
You need to replace 8080 with the required port# in the below line:
<arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar “%BASE%\jenkins.war” –httpPort=8080 –webroot=”%BASE%\war”</arguments>
In the next blog we can see some simple exercise with Jenkins by creating and running the project into different builds.
Note to the reader/user of this blog:
If you are not a student of my class, and looking for it please contact me by mail with your LinkedIn identity. And send a connection request with a message on your need. You can use the below contacts. Please note; I teach globally.
If you want to learn for Ubuntu installation you can visit:
Please find my Services offering as an Independent IT Consultant from the below card. If you are really interested to know the details of the services please e-mail me with your contacts/location/project details, I can send a video link.
In continuation of my previous blogs on SDLC/Agile/Scrum, this blog can give some tips to Scrum Masters.
As per the Agile manifesto and Scrum principles, the Scrum Master need to work as a servant leader. The typical servant leader how he/she should have characteristics to bring the team alignment for right delivery with CDI speed, I have drafted in the below content. This can be useful as TIPS to new Scrum master on Agile projects.
What characteristics a Servant Leader should have in the organization ?
Creating the right leadership roles is very important and challenging to any organization with the current trend of the rapid technology or business transformation.
They need to look into the person’s characteristics very deeply. At the end of the day these leaders only drive the key aspects of the organization to achieve the results.
There are different leadership roles taken by coaches. One of them and very famous and with value added is; Servant leadership.
The servant leadership denotes as ‘a philosophy and practice’ of leadership. This concept has been appearing from the prehistoric. I would like to give a brief introduction of this role in this article, which can help the professionals who would be pursuing into the leadership roles.
When we move forward on analyzing this role, our mindset might have the following questions:
1. What is servant leadership means?
2. How they can thrive the teams in organizations?
3. How they can improve the corporate culture?
4. What is the significance they can create?
5. How this leader can drive high loyalty of the customers?
6. How this leader can build empowered teams to the organization?
7. How the teams can feel being with this leader?
8. Does the organization get the opportunity to drive long term goals with this role?
9. How the organization work culture can be changed timely with this role?
10. How this leadership role can help the organization with accelerated ROI?
In any organization servant leaders accomplish the results while reaching to the targets. These leaders give preferences to the needs of their contemporaries. By thumb rule, these leaders are being seen as humble stewards in their organizational resources like; human, financial and physical.
Focus on teams: A servant leader focuses on his/her team members needs towards scaling them into higher levels in their organization by helping them to resolve their issues and promotes their personality development also. These leaders feel it’s a management philosophy which can be applied to in the view of quality of people, work and community spirit.
We can see in many organizations there are several leaders’ supports their employees in the above mentioned areas to ascend them further. Every growing organization needs this kind of leaders to achieve their targets. Without these leaders and their characteristics it would have not been possible many companies rapid growth in the relevant industries.
Servant leader’s characteristics: When we think of their characteristics, certainly the following can come into our mind with leadership analysis thought process.
- Commitment to the growth of people
- Building community
Understanding people closely: A servant leader attempts to understand and empathize with the team. This leader would not consider them as employees. Their individual respect and appreciation on their personal development would be awarded by the leader. As a manager or leader you can consider any team members tasks, look into its complexity, and support the team member to achieve its result. And you can apply your servant leadership compassion. The team members would not have realized you earlier, when you applied these leadership techniques to achieve their targets.
Effective management of people and their skills: The servant leaders don’t use their power in getting the things done by the people. Instead they manage the tasks and people through effective discussions. This way the team member also can understand on how their manager is giving the importance and respect to their individual concerns. Their hidden or unused skills or power can be utilized to complete any complex tasks with easy ways. For the future tasks, the minimal discussion time can be taken place to convince the team members, while having built the relationship empathetically.
Focus on operating targets and objectives: The servant leadership also plays to focus on long term operating goals also, rather than short term benefits. In view of this kind of thought process they derive specific goals towards implementing strategies for the benefits of the organization as well as tuning the teams towards working on the strategic plans and their execution.
Serving with Openness and persuasion: These leaders would have dedication to help and serve others. With their openness and persuasion their leadership qualities can be demonstrates in the organization to achieve any complex activities also with simple.
- The below videos explains on how to invent and design a reusable code during Agile Sprint planning to save the cycle time. Given with an example of E-commerce site design by identifying its repeatable steps from the user operations.
Many customers might have outsourced the IT Projects to different countries through different IT vendors. This blogs can give some thoughts on their current practices changes [if needed] towards “Onsite & Offshore co-ordination with Virtual team management. ”
- When the IT activities are outsourced to other countries, the customers might need to evaluate their internal review process for offshore team management and delivery.
- Let us assume the customer handles more than 500 outsourced resources globally in different countries.
- All these teams need to have their local delivery managers. And atleast one onsite manager for onsite/offshore co-ordination.
- When the work packets are segregated to each vendor by country, the customer needs to identify the deliverable activities month by month.
- During these activities segregation, the required inputs for offshore teams need to be identified and make sure to deliver as their entry criteria to start the work.
- During the activities planning, execution and review phases, the relevant onsite manager need to be involved and the customer approval need to be acquired to make sure customer manager is aware of the activities and the delivery output is honored for billing purpose. [Which is very important for an IT services vendor].
- The customer managers also need to make sure the teams are attending the required calls periodically and they are getting into the shoes of the required activities.
- The time difference of different countries needs to be followed and fix the feasible timings for onsite and offshore team calls.
- Each teams weekly reports by resource need to be supplied to the customer managers through the e-mails or to save the cycle time online tools can be used.
- The online tools should have features to port the project plans and the activities tracking mechanism.
- The projects issues register features also need to be available online for the virtual teams.
- The customer approval process need to be there for any new activity or extension of the current activity.
- The resources replacement or termination process should be available.
- Each resources project activity and training process need to be automated and it should be linked to the activity and also to the performance evaluation tools.
- Once the team function starts, their performance management need to be available online.
- It can be integrated to the activities tracking system. Against to each activity the mapped resources work need to be reviewed and evaluate by activity wise.
- For every quarter the resources need to be evaluated against to the performance by customer and also by the manager. The team manager need to educate the resource to upgrade his/her skills as per the project/customer needs.
- Infact, it helps the resource also plan their learning activity in this speedy IT learning culture.
- It helps to the vendor and the customer to evaluate the resource stage by stage. And later on CSAT rating will be easy for the managers of customer and teams.
- All the above process steps are required to follow just to manage the virtual teams, which is apart from the other operational or enterprise architecture tools integration and their implementation.
I hope with this process/methods no resource will have bad feedback from customer and also from their managers. Their retention policies can be implemented well by the vendor and customer easily. And the resources also feels happy on this healthy work environment/culture.
Please feel free to contact for any consulting support.
On the above content I have made a video and posted on my youtube channel [Shanthi Kumar V] video URL: http://youtu.be/98zboBaXgoU
By seeing big cloud services vendors you and your team do not need to get confusion and get into their attraction shoes. Each vendor offer the services and their products differently. If you consider the above steps many of the issues or risks can be minimized and you will have your route map for cloud transformation along with the selection steps.
Currently; many testing or DevOps teams setup their test environments by using their existing hardware and using Virtual Machines [VMs] concepts. After certification of the product those VMs can be destroyed also.
Similarly; by having your internal cloud machines [VMs] you can automate the deployment process also by adopting into DevOps culture. Where many global organizations have achieved this activity under their regular management practices.
If you would like to know the basic cloud concepts and models please visit my cloud blogs site: https://vskumarcloudblogs.wordpress.com/
I am open to offer a 2 hours online workshop [globally] to motivate your teams on the above steps, if they are on the similar activities. Please feel free to be in touch with me.
Please contact for any of the below services: