I have a pipeline which performs a build, increments the package version and commits and pushes the result back into the branch. Currently this causes an infinite build cycle.
In other systems, it is possible to prevent this by including a special tag in the commit message; for example including [ci skip] in the commit message.
Can this be done?
One way would be to switch branch in the script and check the updated code into a branch which does not trigger a pipeline. I was wondering if there is an alternative?
Hi William,
we had a similar issue with some of our projects that use maven. To solve the issue we created a separate 'release' branch. Our workflow looks like this:
Let me know if this helped you?
That was my assumption as well so it's good to have an independent confirmation. I have implemented a similar workflow and it works. Thanks for your help.
I would still prefer to have some way of preventing a specific build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.