@Max Were you able to solve this ? bump. This needs answer.
On Monday, June 12, 2017 at 8:02:42 PM UTC+5:30, Max Romanovsky wrote: > > Is it possible to skip commits for git material based on the following > conditions? > > 1. Whitelist and blacklist together (whitelist, for example: ci/*, > project/*; blacklist: project/README.md), when all these files are in the > same repo > 2. Commits with certain commit message or user > 1. During the build, I want gocd to make a commit & tag for the > code I'm building, then make git push. But I don't want this commit to > trigger another build, making an endless loop. Common practice is "[ci > skip]" token in commit message > > If that's not currently possible, is there a way to cancel the build from > the code? > I'd take a look at git log manually then, and return from script with > non-zero exit code, for instance. > But I don't want to fail the build, just cancel it. > > Please suggest, as I can't find anything on that in > documentation/stackoverflow. > > Thanks in advance! > -- This message and its attachments are confidential (or legally privileged) information and are meant solely for the addressee of such message. Any unauthorized use of the message / its attachments is strictly prohibited. -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/6e1fb633-cfbe-4f7b-90f1-46c7f07df741%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
