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!

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to