Using trigger rules with both file include and comment exclude does not work

I am trying to trigger a build based on VCS changes if a specific file is modified *except* if the VCS comment has a specific word in it. I've tried a few ways to do this but the build always triggers.

Example trigger rules:

-:comment=nobuild:**
+:file.yaml

 

However, if I submit a change to file.yaml and the comment attached to the change is just 'nobuild' then the build is still triggered.

I've tried changing the order, being more explicit with the regex but it's the same result.

1 comment

Hi,

 

we have had some similar reports in the past. We have an issue here for that: https://youtrack.jetbrains.com/issue/TW-58078

 

Unfortunately, I have been unable to reproduce the issue so far, so there seems to be some additional condition (probably environmental) to it that we have been unable to find so far.

0

Please sign in to leave a comment.