Enhance [ci skip] to support generic injection of user-defined verbs/parameters
[ci skip] is rather limited in what it does. It would be much nicer if more elaborate instructions for a build could be passed via [ci] facility For example we currently use (with jenkins) three flavors of a build
- No instructions - build, test but do not tag (git) or deploy/upload artifacts
- [DEPLOY=target] - build, test tag git, deploy/upload artifacts. if target specified it will be pushed to a specific app server rather than default one based on branch name
- [NOBUILD] skip build all together
It could be something like [ci: xxx,yyy,zzz=vvv,...] and then extracted by runner and presented as variables named
<prefix to identify commit message variables>_<variable name (yyy, zzz etc)>
I wish git supported passing extra data with a commit - I hate polluting commit messages with build/deployment instructions but in absence of proper facility it proved to be very useful to us