mohamicorp / stash-jenkins-postreceive-webhook

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

Trigger stash-jenkins-webhook produces error #120

Open DevelopmentSupport opened 9 years ago

DevelopmentSupport commented 9 years ago

stash webhook I installed stash version 3.7.1 on a test-environment. We also manage Jenkins at our site. When trying to trigger Jenkins, we receive an error that it needs http-authentication. Stash is installed on a linux-environment which is using LDAP and Jenkins is installed on windows and uses AD. What can we do to resolve this? Any tips/recommendations? http authenticatie stash jenkins

verymahler commented 9 years ago

Probably a duplicate of https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/issues/105

The correct way to go would be by using an authentication-token to call the API https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients

http://user:apiToken@jenkins.yourcompany.com/

But since issue https://github.com/Nerdwin15/stash-jenkins-postreceive-webhook/issues/105 is still open, I think this is not yet supported.