stash-jenkins-postreceive-webhook icon indicating copy to clipboard operation
stash-jenkins-postreceive-webhook copied to clipboard

Example for hard coded urls?

Open riemers opened this issue 12 years ago • 4 comments

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?

riemers avatar Jun 20 '13 09:06 riemers

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?

mikesir87 avatar Jun 23 '13 03:06 mikesir87

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.

riemers avatar Jun 23 '13 08:06 riemers

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.

mikesir87 avatar Jun 24 '13 12:06 mikesir87

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 :)

TheSpyder avatar Oct 17 '13 12:10 TheSpyder