run-jenkins-jobs

Run jenkins job from codefresh pipeline

Arguments

  • JENKINS_JOB * - list of jenkins jobs to run separated by spaces (required)
  • JENKINS_TOKEN * - jenkins token (required)
  • JENKINS_URL * - jenkins machine url (required)
  • JENKINS_USERNAME * - jenkins username (required)
    version: '1.0'
steps:
  RunJenkins:
    title: Triggering Jenkins Job
    type: run-jenkins-jobs
    arguments:
      JENKINS_URL: '${{JENKINS_URL}}'
      JENKINS_TOKEN: '${{JENKINS_TOKEN}}'
      JENKINS_JOB: '${{JENKINS_JOB}}'
      JENKINS_USERNAME: '${{JENKINS_USERNAME}}'

  
github.com
Vadim Waisman
Sep 18, 2019