Skip to content

Commit

Permalink
馃摑 add how to use reviewdog with Jenkins ghprb plugin
Browse files Browse the repository at this point in the history
Fixes #89
  • Loading branch information
haya14busa committed Mar 28, 2017
1 parent f056845 commit f969e83
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,19 @@ $ export REVIEWDOG_GITHUB_API_TOKEN="<your token>"
$ golint ./... | reviewdog -f=golint -ci=common
```

##### Jenkins with Github pull request builder plugin
- [GitHub pull request builder plugin - Jenkins - Jenkins Wiki](https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin)

```sh
$ export CI_PULL_REQUEST=${ghprbPullId}
$ export CI_REPO_OWNER=haya14busa
$ export CI_REPO_NAME=reviewdog
$ export CI_COMMIT=${ghprbActualCommit}
$ export REVIEWDOG_GITHUB_API_TOKEN="<your token>"
$ export REVIEWDOG_INSECURE_SKIP_VERIFY=true # set this as you need
$ reviewdog -ci=common
```

## :bird: Author
haya14busa (https://github.com/haya14busa)

Expand Down

0 comments on commit f969e83

Please sign in to comment.