How to turn off git notifyCommit web hook trigger for individual Jenkins jobs?
<p>I have a couple of Jenkins jobs in a build pipeline. One of them is a performance test and takes a long time to run. I would like it to run only once per day, or at least during a permitted time window at night.</p>

<p>Currently the job gets triggered by:</p>

<ul>
<li><a href="https://wiki.jenkins-ci.org/display/JENKINS/BuildResultTrigger+Plugin" rel="nofollow">BuildResultTrigger plugin</a>

<ul>
<li>monitors previous job in pipeline (build phase)</li>
<li>status: SUCCESS or UNSTABLE</li>
<li>schedule: @midnight</li>
</ul></li>
<li><a href="https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin" rel="nofollow">Git plugin</a>: <code>notifyCommit</code> on push events, by a web hook in the GitLab server.</li>
</ul>

<p>If it were only for the BuildResultTrigger, then it would be good enough for me. However the <code>notifyCommit</code> web hook triggers <em>every</em> job that uses the same git repository as defined in the URL. And I can't <em>not</em> use the git repository, because obviously. (unless there is a way?)</p>

<p>What I am looking for:</p>

<ul>
<li>Either a way to turn off the git <code>notifyCommit</code> web hook trigger for an individual job.</li>
<li>Or a way to define a time window, like from 00:00 AM to 04:00 AM, which is the only time the job is allowed to run.</li>
</ul>