Closed rahulmishra closed 9 years ago
When i invoke the API for configuring the hook , i get an error with the following logs
"PUT /rest/api/1.0/projects/{projectKey}/repos/{repoSlug}/settings/hooks/com.nerdwin15.stash-stash-webhook-jenkins: jenkinsPostReceiveHook-config-form/enabled HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.IllegalArgumentException: Module 'com.nerdwin15.stash-stash-webhook-jenkins:jenkinsPostReceiveHoo k-config-form' does not implement com.atlassian.stash.internal.plugin.ValidatorModuleDescriptor at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88) ~[guava-11.0.2-atlassi an-01.jar:na]
My Stash Version:3.6.1 Stash Webhooks Version:2.6.0
Any pointers?
My bad, i was using the config form key instead of the key
When i invoke the API for configuring the hook , i get an error with the following logs
"PUT /rest/api/1.0/projects/{projectKey}/repos/{repoSlug}/settings/hooks/com.nerdwin15.stash-stash-webhook-jenkins: jenkinsPostReceiveHook-config-form/enabled HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.IllegalArgumentException: Module 'com.nerdwin15.stash-stash-webhook-jenkins:jenkinsPostReceiveHoo k-config-form' does not implement com.atlassian.stash.internal.plugin.ValidatorModuleDescriptor at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88) ~[guava-11.0.2-atlassi an-01.jar:na]
My Stash Version:3.6.1 Stash Webhooks Version:2.6.0
Any pointers?