I am trying to install/run jenkins on a mac machine using homebrew. This is what I did
brew install jenkins-lts
On running this command. I see that jenkins-lts is installed and I see this messageNote: When using launchctl the port will be 8080.
To have launchd start jenkins-lts now and restart at login:
brew services start jenkins-lts.
Or, if you don't want/need a background service you can just run:
jenkins-ltsIf I run
jenkins-lts, Jenkins starts at port 8080 successfully. I can reach it from the browser.If I run
brew services start jenkins-lts. I see the message Successfully startedjenkins-lts(label:homebrew.mxcl.jenkins-lts)But I cannot reach the server on port 8080. I tried checking the status of the service
I tried checking the status of the service
brew services listName Status User Plist jenkins-lts unknown ec2-user /Users/ec2-user/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist
I see that status is unknown.
After a while I see that this service is not listed anymore in the
brew services listcommand. If I try to start it again. I see this message/Users/ec2-user/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plist: service already loaded Error: Failure while executing;
/bin/launchctl bootstrap gui/501 /Users/ec2-user/Library/LaunchAgents/homebrew.mxcl.jenkins-lts.plistexited with 37
Where can I find the jenkins logs and how to get it working.
