mohamicorp / stash-jenkins-postreceive-webhook

Webhook used to notify Jenkins when commits are made to Stash
Other
138 stars 98 forks source link

Example for hard coded urls? #20

Open riemers opened 11 years ago

riemers commented 11 years ago

Hi, i tried myself but i could not figure it out.

Could you add an example where the user can only select from say 3 different jenkins urls?

From what i can gather, i would think i only need to have a change to the simply.soy no?

mikesir87 commented 11 years ago

What are you having trouble configuring? The Jenkins URL? If so, this URL will be the root of your Jenkins instance.

For example, if your Jenkins server is found at http://jenkins.example.com/jenkins/, that's what you would enter.

What 3 different Jenkins urls are you thinking of? Or are you referring to the URL that is used for cloning the URL?

riemers commented 11 years ago

No, you say i would enter "http://jenkins.example.com/jenkins" i undertand that. But we have like 6 different jenkins servers. So 6 different url's. I only want the people to be able to choose one of those 6 instead of having to fill it in manually.

mikesir87 commented 11 years ago

Ok. Thanks for the clarification. I wasn't quite sure what it was you were asking for before. I'll put this into consideration for future development.

TheSpyder commented 10 years ago

This would be handy for me as well - we only have one master Jenkins server for all builds, with scaling handled by adding slaves.

The auto-completion of repository URLs in 2.x helps, but until Atlassian offer some kind of default webhooks option we're stuck literally entering the same Jenkins URL every time :)