DevOps Classroom Series – Jenkins Windows Node – 24/Dec/2019

Adding Windows Node to Jenkins Master

  • Ensure your Jenkins Master is Running
  • Create an Windows Instance with Java Installed. In this scenario we would use Windows 2016 Server
  • Install Chocolatey and install Java 8
  • To Connect Jenkins windows Node to Jenkins Master we use JNLP, To enable JNLP Navigate to Manage Jenkins => Global Security and Enable the Agents as shown below Preview
  • Navigate to Manage Jenkins => New Node and add the necessary configuration Preview

Preview

  • Now Create a Jenkins job to schedule the build on windows server

Build Parameters

  • Build Parameters are the options to user to pass parameters while building the jobs
  • Parameter types available are
    • String
    • Boolean
    • Choice
    • File
    • Credentials
  • To use this parameters on the Linux node use the following syntax $Parameter-name
  • Along with Build Parameters defined by the users Jenkins gives the list of Environmental Variables, To See complete list refer docs or do as shown below

Preview

Preview

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube