Interwork with GitHub
- If I get a Pull Request, Jenkins will check a source It is either right source or not
1. Install
- https://jenkins.io/content/thank-you-downloading-windows-installer/#stable
- http://localhost:8080/
2. Create a bot account
- To make a new github ID to get source and send a test result
3. Configure bot account
3_1. individual
- To add a bot account to repository
3_2. Organization
3_3. Confirm
- Sign in as a soul2ndlife(bot account)
4. Jenkins SSH Key
- Jenkins will access a repository by using Secret key of bot account
4_1. using jenkins for the first time
- To make a folder .ssh
- To add a id_rsa(secret key)
- This key is bot account ssh key
4_2. Already use a jenkins
5. Github pull request builder plugin
- This plugin will work for merge and test automatically
6. Git plugin config
System config -> git plugin
7. GitGub pull request builder config
a move to GitHub pull request builder and click a 고급
7_1. GitHub server api URL
7_2. Access Token
- We have to have a bot account's access Token to access GitHub API by using Jenkins