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
410 stars 161 forks source link

Unable to use genericTrigger or GenericTrigger in jobs DSL #194

Closed boyagao closed 3 years ago

boyagao commented 3 years ago

I have also tried with the following configuration:

triggers {
        GenericTrigger (
                genericVariables: [
                        [key: 'MODELS_FROM_POST', value: '$[*]']
                ],
                token: 'scratch',
                printContributedVariables: true,
                printPostContent: true,
                silentResponse: false,
        )
    }

This has produced the following build log: image

boyagao commented 3 years ago

resoved