Tuesday 12 July 2016

Silent Installation of Notepad++ in all windows servers using Jenkins

Having very good text editor in windows servers is very important mainly while analyzing log files in the server. Installing a good text editor in all your windows servers manually is a painful process. So, here I will be sharing how can you install a good text editor, eg: notepad++ in all windows servers with a single click. The goal is Installation of Notepad ++ software in all windows servers in a custom location with the help of Jenkins tool.
1) Create and configure Jenkins job to connect to all windows boxes with the help of  Node and Label Parameter plugin.

Configure Node and Label Parameter plugin to run concurrent builds in Jenkins:

  • In the Jenkins job,  check “this build is parameterized” option, select “node” in “Add Parameter” drop-down.
  • Now in the node section, check “Allow multi-node selection for concurrent builds” as shown belowjenkins.


  • Make sure that “Execute concurrent builds if necessary” option is checked as shown below.jenkins2
3) Copy the Notepad ++ software file into a shared path which can be accessed from all windows boxes.
4) Add below batch script to your Jenkins job and Run the Jenkins job by selecting multiple nodes.
echo Start DateTime : %date%_%time%

xcopy "\\server1\d$\backup\npp.6.6.8.Installer.exe" "D:\backup" 

cd D:\backup

npp.6.6.8.Installer.exe /S /D=D:\***

del npp.6.6.8.Installer.exe

echo End DateTime : %date%_%time%
By following above steps we are able to automate the silent installation of notepad++ in windows servers. This process you can use for installing any software in all windows servers with a single click.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home