build started with zero files modified

Completed

I have a project with GIT repository and a trigger.
The build is supposed to start only when files of certain type are modified.
Occasionally I see build started with zero files modified.
Why is that? How to fix it?

0
7 comments

Hi Mike,

I tried reproducing your issue on 2019.1.4, but it works fine in my test setup. Though I might be missing some part of the setup, which prevents me from reproducing the issue. Does your build have any VCS Checkout Rules configured?

0

Thanks Mikhail for your reply.
No I don't have anything interesting in VCS Checkout Rules.
It simply runs on master branch.
Please see attachment.

Any other suggestions you may have?

0

Hi Mike,

May I please ask you to provide me with a screenshot of Build Configuration Home -> Version Control Settings -> Edit Checkout rules as displayed below:

0

Sure Mikhail, please see screenshot. It is empty :)

0

Hi Mike, I was able to reproduce a similar behaviour on a merge commit. By any chance, was it a merge commit in your case?

0

Yes Mikhail, it is a merge commit. It is a merge from branch back to master.

So what can we do about it?
Is it a bug?
Is there a workaround?

 

0

Hi Mike,

Yes, this is a bug: you can track it here: https://youtrack.jetbrains.com/issue/TW-24747

There's also a workaround described in: https://youtrack.jetbrains.com/issue/TW-24747#focus=streamItem-27-814689.0-0

Apologies for the inconvenience.

 

0

Please sign in to leave a comment.