Jenkins and Gitlab integration

From ETSI Forge
Revision as of 17:23, 17 July 2018 by Carignani (talk | contribs) (Created page with "= Jenkins job configuration = # Create Jenkins job # Set up permissions thumb|center # Set up Git information thumb|center # Set...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Jenkins job configuration

  1. Create Jenkins job
  2. Set up permissions
  1. Set up Git information
  1. Set up the trigger
    • Remember to take note of the link to be used as a hook
    • Important: Click on advanced and generate a secure token to be used in Gitlab
  1. Set up post build actions

Gitlab project configuration

  1. Navigate to the project Integrations settings (e.g. [1])
  2. Insert the link generated by the Gitlab Plugin in Jenkins as the webhook uri
  3. Set the secret token
  4. click test and select "Push"