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

How to configure allow for Job Quiet Period override in pipeline code? #232

Closed SysEngDan closed 2 years ago

SysEngDan commented 2 years ago

I'm currently using the option through the web GUI in Jenkins to override the job quiet period, but once my pipeline runs, that gets disabled. I suppose it's because I need to insert it into my pipeline. I can't seem to find the right syntax for this. I see the other issue where this was developed, #159, and the commit, but I don't know the code well enough to pick out the syntax I can use in my own pipeline.

tomasbjerre commented 2 years ago

I would suggest using the built in snippet generator to get it right. https://www.jenkins.io/doc/book/pipeline/getting-started/