Skip to content

Commit b48ac18

Browse files
committed
Adding dsl usage to readme
1 parent 8280c43 commit b48ac18

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@ bitbucket-plugin
44
[![Build Status](https://jenkins.ci.cloudbees.com/job/plugins/job/bitbucket-plugin/badge/icon)](https://jenkins.ci.cloudbees.com/job/plugins/job/bitbucket-plugin/)
55

66
See details on [wiki](https://wiki.jenkins-ci.org/display/JENKINS/BitBucket+Plugin)
7+
8+
# Job DSL
9+
The plugin supports the following dsl extension to enable bitbucket pushes to trigger a build:
10+
```freeStyleJob('test-job') {
11+
triggers{
12+
bitbucketPush()
13+
}
14+
}```

0 commit comments

Comments
 (0)