jenkins.rb | Use the Jenkins continuous integration server | Continuous Deployment library
kandi X-RAY | jenkins.rb Summary
kandi X-RAY | jenkins.rb Summary
This is the Jenkins Ruby toolkit. You can use it to build, test and release Jenkins plugins written in Ruby. It also contains a jenkins command line tool which you can use to interact with a Jenkins server from the terminal.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Build a build command
- Create a new project .
- Initializes a new instance .
- Create a new clone of the object
- Returns true if this object is compatible .
- This function is called when a process is closed .
- Create a new object .
- Preprocess the online server .
- Tries to be called from the stack .
- Creates a new listener .
jenkins.rb Key Features
jenkins.rb Examples and Code Snippets
Community Discussions
Trending Discussions on jenkins.rb
QUESTION
I had the same exact problem as mentioned by another user here. Summary: installed and using Jenkins on macOS Sierra using homebrew. Running as a LaunchAgent daemon via the 'brew services start jenkins' command. Everything works fine and can access the Jenkins web page via the default port of 8080 on the mac where it's running. However, accessing it via any other computer on the LAN results in a "Connection refused" error. Tried the suggested comment in the linked blog post above about adding the Sockets section to the homebrew.mxcl.jenkins launchd plist homebrew creates, but that didn't help either.
What did make it accessible from a remote computer was changing the Jenkins --httpListenAddress param in the launch plist from the default 127.0.0.1 to 0.0.0.0. My question is why did that work? Why did that make the Jenkins web page accessible from a remote computer? Also, why would this be the default for the jenkins homebrew formulae if it causes this issue?
...ANSWER
Answered 2017-Feb-02 at 22:55To be honest: I'm not a mac or homebrew user.
But if you check the jenkins documentation for Starting and Accessing Jenkins you will find the following documentation for the --httpListenAddress
:
Binds Jenkins to the IP address represented by $HTTP_HOST. The default is 0.0.0.0 — i.e. listening on all available interfaces. For example, to only listen for requests from localhost, you could use: --httpListenAddress=127.0.0.1
Most propably the homebrew contributors thought it wouldn't be a good idea to provide a remote accessible jenkins instance by default. They rather provide a local jenkins only accessible from localhost.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jenkins.rb
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page