jenkinsci / generic-webhook-trigger-plugin

Can receive any HTTP request, extract any values from JSON or XML and trigger a job with those values available as variables. Works with GitHub, GitLab, Bitbucket, Jira and many more.
https://plugins.jenkins.io/generic-webhook-trigger
404 stars 159 forks source link

Failed to load: Generic Webhook Trigger Plugin (generic-webhook-trigger 1.84.1) #250

Closed sreejesh-radhakrishnan-db closed 1 year ago

sreejesh-radhakrishnan-db commented 1 year ago

When reporting a bug, please try to provide as much information as possible.

I have tried to install the plugin by copying the generic-webhook-trigger.hpi to /var/lib/jenkins/ and restarting the jenkins

On the jenkins the plugin is not loading and showing this error Failed to load: Generic Webhook Trigger Plugin (generic-webhook-trigger 1.84.1)

Sorry this may not be a bug, I am new to JENKINS and PLUGINS, if this is something of me missing basis. can you guide me please?

You may also have a look at the test cases as they should answer the most common questions:

https://github.com/jenkinsci/generic-webhook-trigger-plugin/tree/master/src/test/resources/org/jenkinsci/plugins/gwt/bdd

If you are fiddling with expressions, you may want to checkout:

A Curl command can look something like this:

curl -v -H "Content-Type: application/json" -X POST -d '{ "app":{ "name":"GitHub API", "url":"http://developer.github.com/v3/oauth/" }}' http://localhost:8080/jenkins/generic-webhook-trigger/invoke?token=sometoken
tomasbjerre commented 1 year ago

Sounds like you need to install those missing plugins.

sreejesh-radhakrishnan-db commented 1 year ago

ah okay, should have learn to read englsh at Primary school better :-),, thank you.