1) type jenkins -v in the terminal (the first string will be something like this: Running from: /opt/homebrew/Cellar/jenkins/2.388/libexec/jenkins.war) 2) then cd /opt/homebrew/Cellar/jenkins/2.388 3) ls -la (you will see the file) I hope that is what you want
I'm not able to start Jenkins on my Mac OS even after running the following commands: 1. I/P: brew services start jenkins-lts O/P: "Bootstrap failed: 5: Input/output error Try re-running the command as root for richer errors. Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/user1/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist` exited with 5." 2. I/P: brew services list O/P: Name Status User File jenkins-lts error 256 root ~/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist mongodb-community started user1 ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist 3.brew services restart jenkins-lts Stopping `jenkins-lts`... (might take a while) ==> Successfully stopped `jenkins-lts` (label: homebrew.mxcl.jenkins-lts) ==> Successfully started `jenkins-lts` (label: homebrew.mxcl.jenkins-lts) But still localhost:8080 remains blank. 4. When I run "brew services restart jenkins-lts" & then run "Jenkins-lts" it works and I'm able to access Jenkins through localhost:8080 but it's only for that instance only. When I log out and relaunch it through the same process it starts from Scratch just like a new instance, all my previous works do not exists any more. Note: java --version java 21.0.3 2024-04-16 LTS Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152) Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing) & mvn --version Apache Maven 3.9.7 (8b094c9513efc1b9ce2d952b3b9c8eaedaf8cbf0) Maven home: /opt/homebrew/Cellar/maven/3.9.7/libexec Java version: 21.0.3, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home Default locale: en_IN, platform encoding: UTF-8 OS name: "mac os x", version: "12.6.9", arch: "aarch64", family: "mac"
This video ended up being super useful. Thanks!
Gracias Amigo. Saludos desde ciudad de México
hi sir thank you for sharing the video.
could I ask a question? how can I find the file ends with jenkins-its.plist on my mac?
1) type jenkins -v in the terminal (the first string will be something like this: Running from: /opt/homebrew/Cellar/jenkins/2.388/libexec/jenkins.war)
2) then cd /opt/homebrew/Cellar/jenkins/2.388
3) ls -la (you will see the file)
I hope that is what you want
@@ДенисВершков-д3р We can also use "brew info jenkins-lts" command to find the Cellar directory where the plist file can be found.
Hi man how to find the path of jenkins where i have installed in mac ?
Very good!
how can we uninstall jenkins?
I'm not able to start Jenkins on my Mac OS even after running the following commands:
1. I/P: brew services start jenkins-lts
O/P: "Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/user1/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist` exited with 5."
2. I/P: brew services list
O/P:
Name Status User File
jenkins-lts error 256 root ~/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist
mongodb-community started user1 ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
3.brew services restart jenkins-lts
Stopping `jenkins-lts`... (might take a while)
==> Successfully stopped `jenkins-lts` (label: homebrew.mxcl.jenkins-lts)
==> Successfully started `jenkins-lts` (label: homebrew.mxcl.jenkins-lts)
But still localhost:8080 remains blank.
4. When I run "brew services restart jenkins-lts" & then run "Jenkins-lts" it works and I'm able to access Jenkins through localhost:8080 but it's only for that instance only. When I log out and relaunch it through the same process it starts from Scratch just like a new instance, all my previous works do not exists any more.
Note: java --version
java 21.0.3 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing)
&
mvn --version
Apache Maven 3.9.7 (8b094c9513efc1b9ce2d952b3b9c8eaedaf8cbf0)
Maven home: /opt/homebrew/Cellar/maven/3.9.7/libexec
Java version: 21.0.3, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home
Default locale: en_IN, platform encoding: UTF-8
OS name: "mac os x", version: "12.6.9", arch: "aarch64", family: "mac"
how to install jenkins in macOS 10.15
Need to upgrade to Monterey