Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server url to global configuration #56

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vralfy
Copy link

@vralfy vralfy commented Apr 24, 2014

My company got its own hipchat server. In order use that server I patched this plugin to set up hipchat server url in global definitions.

Norman Specht added 3 commits April 24, 2014 10:39
@wjimenez5271
Copy link

+1 for this functionality

@wjimenez5271
Copy link

Not sure if this is a bug or not, but the plugin built from this fork is throwing an unknown host exception: https://gist.github.com/wjimenez5271/489ca5bb3b07b0612569

}

@Override
public boolean configure(StaplerRequest sr, JSONObject formData) throws FormException {
server = sr.getParameter("hipChatServer");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should keep the api.hipchat.com as a default if not set, for backward compatibility sake

@driedtoast
Copy link

@vralfy funny i just created a PR to add the same thing, I'll close mine out in favor of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants