jenkinsci/job-dsl-plugin — pull request #168 by daspilker (2014-03-11 11:38:52+00:00)
Title: Git Publisher

This adds support for the Git Publisher.

```groovy
job {
publishers {
git {
pushOnlyIfSuccess(boolean pushOnlyIfSuccess = true)
pushMerge(boolean pushMerge = true)
tag {
targetRepo(String name)
name(String name)
message(String message)
create(boolean create = true)
update(boolean update = true)
}
branch {
targetRepo(String name)
name(String name)
}
}
}
}
```