How to setup/Configure Tools in Slave Agent in Jenkins ? | EP 18 | Jenkins Tutorial | DevOps

Published: 16 March 2023
on channel: DevOps Vijay
1,493
17

In this video, we will learn how to configure various software or tools specific to Slave Agent in Jenkins.

In Global Configuration, you can configure different tools, such as Maven, JDK, Ant, etc. When you do that, you also provide an installation method (usually an automatic online installer).

Now, on the Job Configuration, when you configure a buildstep using one of the tools, for example Invoke Ant, you will see a drop down. The first option is Default, the next is whatever tool installations that you've configured in Global Configuration.

If you choose Default it will use whatever is already installed on the system by simply executing a command like java, ant, or mvn. Obviously, if those commands are not in the path, it will fail. If you choose one of the configured options, Jenkins will install it to the system (if not already done), and use that particular version (as opposed to the one you have under path).

This installation will happen on both the master and the slave nodes. If you do not want to use this automatic installation on a particular node, you can manually specify the location of the particular tool in the screenshot you provided.

The above is only useful if in your Job Configuration, you are selecting a specific version of the tool, other than Default, because as already explained: Default will use whatever is already installed on the system (not by Jenkins).

*************************************************************
Jenkins tutorial complete step by step guide :
How to install jenkins in windows:    • How to  Install Jenkins on Windows ? ...  
How to create first sample job in jenkins:    • How to Create First Freestyle Project...  
Poll scm jenkins :    • Jenkins Poll SCM GitHub | BUILD Trigg...  
How to install plugin in jenkins:    • Jenkins Plugins installation | EP 04 ...  
SSH-KEYS setup :    • SSH Key Based Password Less Authentic...  
Maven installation:    • Maven Installation on Windows | EP 01...  
*************************************************************
Ubuntu on Virtualbox:    • Need UBUNTU on Windows Operating Syst...  
Devops interview questions:    • Test your DevOps skills and knowledge...  
Devops java project sample:    • Create Java Project in Maven | Folder...  
*****************************************************

devops tutorial for beginners
devops full course
devops interview questions
jenkins tutorial for beginners
jenkins slave agent configuration
jenkins configuration

#tutorial #devops #jenkins #jenkinstutorial #jenkinspipeline #learning #career #interview #question #career #jenkins #cicd #linux #devopsvijay #devopsproject #devopstraining #devopstrainingvideos #cicd #sitereliability #devopsengineer #bashscripting #shellscripting


Watch video How to setup/Configure Tools in Slave Agent in Jenkins ? | EP 18 | Jenkins Tutorial | DevOps online without registration, duration hours minute second in high quality. This video was added by user DevOps Vijay 16 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,493 once and liked it 17 people.