jenkinsci / gogs-webhook-plugin

Jenkins Gogs Webhook
https://plugins.jenkins.io/gogs-webhook/
MIT License
79 stars 42 forks source link

Trigger parameterized Jenkins job with gogs webhook #67

Closed mqtt-fan closed 2 years ago

mqtt-fan commented 3 years ago

Hi all,

I created a parameterized Jenkins job. The parameter was defined in the gogs webhook tab in jenkins.

How can I start this parameterized job via gogs webhook?

In the gogs repo I put the following link into the payload url of the webhook: http://myjenkins/gogs-webhook/?job=myparameterizedJob&var1=TEST

But it is not overriding the parameter var1 in the job.

Can you help me?

Versions Gogs: 0.13.0+dev Jenkins: 2.235.5 Gogs Webhook Plugin: 1.0.15