Add Jenkins Trigger Template

Problem Statement

GitLab CI/CD integrates with Jenkins normally. However if you want to do GitLab CI Jobs in addition to a Jenkins job, you need to have a CI Pipeline call out to Jenkins to trigger Jenkins. Then monitor the status of Jenkins's Job for when it's complete.

Expected Template Behavior

  • A GitLab CI Pipeline is triggered
  • A GitLab CI Job starts and makes a CLI command to trigger Jenkins Job.
  • The GitLab CI Job then monitors for Jenkins job success/failure and reports status
  • If success, Job succeeds and continues the GitLab CI Execution

Executor issue

Yes, an executor is necessary.

Links