|
|
|
@ -1,6 +1,6 @@ |
|
|
|
# Learning Jenkins, 01-03: Install Jenkins on macOS |
|
|
|
|
|
|
|
# Prerequisites |
|
|
|
## Prerequisites |
|
|
|
The target system should be running a recent version of the macOS |
|
|
|
|
|
|
|
You will need to be able to access the system via CLI and via HTTP on port `8080`. |
|
|
|
@ -9,7 +9,7 @@ You will need to have [Homebrew](https://brew.sh/) installed. |
|
|
|
|
|
|
|
You may need to have `root` permission on the target system. |
|
|
|
|
|
|
|
# Installation |
|
|
|
## Installation |
|
|
|
In a terminal, run the following commands: |
|
|
|
``` |
|
|
|
brew install java |
|
|
|
@ -18,7 +18,7 @@ brew services start jenkins |
|
|
|
cat ~/.jenkins/secrets/initialAdminPassword |
|
|
|
``` |
|
|
|
|
|
|
|
# Using the Initial Admin Password |
|
|
|
## Using the Initial Admin Password |
|
|
|
Run the following command and copy the output: |
|
|
|
``` |
|
|
|
cat ~/.jenkins/secrets/initialAdminPassword |
|
|
|
|