Plugin that adds Git tasks commonly used for setting up
working copy when running build on CI environment.
Adds following tasks:
-
'gitUnshallow' - performs 'git unshallow' to get sufficient amount of commits,
useful for release notes automation
-
'checkOutBranch' - checks out specific branch,
useful when CI server checks out a rev hash that is not any committable branch
-
'setGitUserName' - sets generic user name so that CI server can commit code as neatly described robot,
uses value from
ReleaseConfiguration.Git#getUser()
-
'setGitUserEmail' - sets generic user email so that CI server can commit code as neatly described robot,
uses value from
ReleaseConfiguration.Git#getEmail()
-
'ciReleasePrepare' - prepares for release from CI,
depends on unshallow, set branch, set generic git user and email.