Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the required version of Jenkins.

  2. Download the specific version "jenkins.war" (e.g., version 2.401.1).

  3. Navigate to the download folder using the terminal: cd Downloads

  4. List all items in the Downloads folder: ls

  5. Run Jenkins on a different port since the default port 8080 might be in use: java -jar jenkins.war --httpPort=9090

  6. Search for Maven in the terminal: brew search mvn

  7. Install Maven: brew install mvn

  8. Install JDK. Once Jenkins is running, go to Dashboard > Manage Jenkins > Tools, fill in the JDK details, and set the “Java_home.”

...

  1. Install maven, Once Jenkins is running, go to Dashboard > Manage Jenkins > Tools, fill in the maven details, and set the “maven_home”. refer screenshot.

mavenConfig.pngImage Added

After Jenkins Installation

...