# Quiet Interval on trigger for git repository builds only latest build

**URL:** <https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854>\
**Category:** Bugs\
**Tags:** fixed\
**Created:** [September 22, 2020, 6:35am UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854 "2020-09-22T06:35:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)\
**Post date:** [September 22, 2020, 6:35am UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854/1 "2020-09-22T06:35:50Z")

</div>

Hi VSoft,

I have a git repository and a configuration which triggeres on new commits. I have set the ‘ **Quiet Interval** ’ for this trigger to ‘ **0** ’. And now my expectation is now that every commit to my git repository should trigger one build.  
But there is the problem. When I upload (push) more than one commit continua recognizes only the latest commit and triggers only one build which is associated with the last commit.

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [September 22, 2020, 7:14am UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854/2 "2020-09-22T07:14:48Z")

</div>

Hi Albrecht,

I just did a quick test, with two commits pushed to a git repository and my trigger with a quiet period of 0 ran two separate builds.

Is it possible that the two commits have the same commit hash but are on different branches. e.g. after a merge? There are two settings on the Branch tab of the trigger dialog: `Skip commits previously built for this configuration` and `Skip commits previously built by this trigger`. Maybe one of these is checked?

Otherwise, can you provide further details of your trigger settings, so we use these to attempt to reproduce the issue? Does this happen with all sets of commits or just some - any particular trait? Also which version of Continua CI are you running?

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [September 22, 2020, 7:29am UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854/3 "2020-09-22T07:29:22Z")

</div>

Another thing to check is configuration conditions. If you have set up a configuration condition and the `Accumulate changes’ checkbox is checked, then changesets will accumulate on one build.

---

<div class="post-metadata">

**Author:** ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)\
**Post date:** [September 22, 2020, 11:50am UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854/4 "2020-09-22T11:50:46Z")

</div>

Hi Dave,

1. as far as i know it should not possible to have two commits with the same hash. And the commits where i have this problems have different hashes.
2. `Skip commits previously built by this trigger` is checked, the other (`for configuration`) not. But can this be the problem as the first commit was not build?
3. I could reproduce the issue with following steps: create one commit (don’t push it to the server), create a second one and than push both in one push action to the git server.
4. Can you tell me which trigger setting is interesting for you. The other settings seems to be ok.  
`Quiet Period Type = Interval in minutes`  
`Quiet Interval = 0`  
`Associate Changesets = Latest`  
Section `Tags` `Trigger on = Don not trigger on tag changes`  
Section `Users` and `Files` are default.
5. I have only a discard condition in this configuration
6. continua version is 1.9.1.771

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [September 23, 2020, 12:40am UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854/5 "2020-09-23T00:40:15Z")

</div>

> [@rynardald](#):
>
> as far as i know it should not possible to have two commits with the same hash

Sorry, should have been clearer - no two commits can have the same hash, but a commit can occur on multiple branches in the changeset history. If a repository is set up to detect changes on multiple branches, multiple Continua CI changesets can exist for one commit.

> [@rynardald](#):
>
> I could reproduce the issue with following steps: create one commit (don’t push it to the server), create a second one and than push both in one push action to the git server.

This is exactly what we were doing in our tests, but…

> [@rynardald](#):
>
> I have only a discard condition in this configuration

we can now reproduce this behaviour with a single discard condition!

We’re working on a fix now.

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [September 23, 2020, 7:46am UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854/6 "2020-09-23T07:46:40Z")

</div>

We’ve now uploaded new versions [v1.9.1.777](https://www.finalbuilder.com/downloads/continuaci/continua-ci-version-history-v191) (and [1.9.2.421 beta](https://www.finalbuilder.com/downloads/continuaci/continua-ci-version-history-v192)) with a fix for this issue.

---

<div class="post-metadata">

**Author:** ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)\
**Post date:** [September 23, 2020, 1:47pm UTC](https://www.finalbuilder.com/forums/t/quiet-interval-on-trigger-for-git-repository-builds-only-latest-build/6854/7 "2020-09-23T13:47:12Z")

</div>

Tested and works as expected. Thanks for help.
