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

Server should forward query strings #98

Closed
rpetti opened this issue Feb 2, 2019 · 1 comment
Closed

Server should forward query strings #98

rpetti opened this issue Feb 2, 2019 · 1 comment

Comments

@rpetti
Copy link
Contributor

rpetti commented Feb 2, 2019

Would it be possible to allow the server to forward query strings? Here's our use-case:

We are using smee to forward webhooks from our git system to a Jenkins server. Jenkins needs the repository URL passed in as a query string in order for it to be matched to jobs correctly:

http://jenkins.local:8081/git/[email protected]:group/repo.git

We would like to be able to specify this query string on the git server's webhook configuration as such:

https://smee.local/[email protected]:group/repo.git

But this doesn't currently work. The only way to forward these types of hooks is to set up a channel and client for each repository, and hard code the query string into the client's -P (path) parameter.

@JasonEtco
Copy link
Member

Closed by #100 - thanks @rpetti

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

No branches or pull requests

2 participants