We'll create a pipeline using Github Organizations, which will attempt to pull in any repository within an Organization and run jobs against any repository with a Jenkinsfile
present.
- Install Blue Ocean Plugin
- Create new Github Pipeline within Blue Ocean
- Add a Personal Access Token after creating one in Github
- Choose which user or organization to scan
- Choose to scan repositories for any with a
Jenkinsfile
(vs adding a single repository) - It will setup a pipeline for any project with a
Jenkinsfile
in the root level
Note the permissions given to the personal access token in the video:
repo
(All)admin:repo_hook
(All)admin:org_hook
user
(All, altho onlyuser:email
is required)
If you're interested in learning more about Docker and how I use Jenkins with a Docker workflow, check out the ? Shipping Docker series!