Skip to content
Riina Väisänen edited this page May 4, 2017 · 2 revisions

Setting up credentials

You can create a personal access token either on Github site or using Jenkins. Remember to give the token repo rights and admin rights for repo_hook and org_hook. Go to Manage JenkinsConfigure SystemGithub.

In Credentials, click add. In Kind, choose Secret text and enter the access token in the secret-field. After you're done, click Test connection to check that it works.

If the Jenkins is run behind a firewall, a Webhook must be used. In Override Hook URL-setting, specify the URL of the forwarding service and add /github-webhook/ to the URL. In Shared secret, select the token created in previous step.

The Pipeline

Radiators

Clone this wiki locally