diff --git a/Setup-Jenkins-GitHub-pull-request-builder-plugin.md b/Setup-Jenkins-GitHub-pull-request-builder-plugin.md index 06d193e..bf35a8f 100644 --- a/Setup-Jenkins-GitHub-pull-request-builder-plugin.md +++ b/Setup-Jenkins-GitHub-pull-request-builder-plugin.md @@ -1,16 +1,16 @@ - 1. install jenkins with GitHub pull request builder plugin as `http://jenkins:9090/` - 2. install gitbucket as `http://gitbucket:8080/` + 1. Install jenkins with GitHub pull request builder plugin as `http://jenkins:9090/` + 2. Install gitbucket as `http://gitbucket:8080/` 3. Create repository on gitbucket as `http://gitbucket:8080/root/test` - 3. Create user on gitbucket for jenkins as `jenkinsbot` - 3. Add `jenkinsbot` to collaborator of repository `root/test` + 4. Create user on gitbucket for jenkins as `jenkinsbot` + * Add `jenkinsbot` to collaborator of repository `root/test` 4. Add repository webhook `http://jenkins:9090/ghprbhook/` - 5. create personal access token on `http://gitbucket:8080/jenkinsbot/_application` - 6. set jenkins global setting of GitHub Pull Request Builder on `http://jenkins:9090/manage` + 5. Create personal access token on `http://gitbucket:8080/jenkinsbot/_application` + 6. Set jenkins global setting of GitHub Pull Request Builder on `http://jenkins:9090/manage` * GitHub server api URL = `http://gitbucket:8080/api/v3` * Access Token = created on step 5. * Save. - 7. create job as `http://jenkins:9090/job/testjob/` - 8. on http://jenkins:9090/job/testjob/configure, + 7. Create job as `http://jenkins:9090/job/testjob/` + 8. On http://jenkins:9090/job/testjob/configure, * GitHub project = `http://gitbucket:8080/root/test/` * Source Code Management * git