DevOps Classroomnotes 22/Sep/2022

Exercise

  • Create the below Jenkins Distributed Setup
  • Create two jenkins jobs free style
    • openjdk 11 => spring pet clinic
    • openjdk 8 => game of life
  • Steps, Clone the repo and execute
mvn package

Global Tool Configurations

  • To make the management of multiple tools or different versions of the same tools Jenkins has Global Tool Configuration
  • Lets Navigate to Jenkins Global Tool Configuration


  • Now lets install Latest version of Maven on the centos node Refer Here for the installation steps.
  • Steps followed
sudo yum install wget
cd /tmp
wget https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz
tar -xvzf apache-maven-3.8.6-bin.tar.gz
sudo cp -r apache-maven-3.8.6 /opt
  • Now add maven location in the Global tools
  • Create a jenkins job to run on centos node with maven 3.8.6

  • Now build the job
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%