Skip to content

20. Jenkins. Routine

Siarhei P edited this page Jul 23, 2024 · 3 revisions

Homework Assignment 1: Jenkins API

  • Create Jenkins job which checking if user are exist in /etc/passwd
  • Create GitHub action with parameters username
  • Include this parameter to API request for you Jenkins job
  • Execute this chain of jobs:
    • Github Action with user name -> API request -> Jenkins job -> notification slack if user exist/not exist

Homework Assignment 2: Webhook

  • Add webhook to any your Job with git clone
  • Setup job to run only master/main branch changes