-
Thanks for the nice words. Glad to see it is useful for someone, 😄
To solve this issue, you may exclude certain files from the trigger. For instance, I update build_number.txt in my job. To prevent OneDev branch update trigger from endless loop, exclude build_number.txt as demonstrated in below screenshot:

You may also exclude certain folders or file patterns as necessary.
-
Previous Value Current Value Open
Closed
-
Great thanks, didn't get the trick to negate the files. Maybe it's helpful to add another sentence to the help section below the touched files input. Something like: "Add '-' to negate."?
-
Hmm... mentioning this in inline help can make this more explicit. Will add that in next patch release.
| Type |
Question
|
| Priority |
Normal
|
| Assignee |
Issue Votes (0)
Hi,
I switched to onedev server for all my private coding projects and it works great so far, thanks! However I have one issue with certain kinds of projects. I have some maven/gradle/npm based projects where I'd like to do a version bump on master commit. Something like this:
This works great, apart from one thing: The push obviosly triggers the build again and we end up in an endless loop. 😄
How is this kind of "version bump during CI/CD" thing meant to be solved using onedev?
Best regards, Chris