Skip to content

Trigger and monitor Jenkins build jobs with Github Actions for TOTANGO

License

Notifications You must be signed in to change notification settings

totango/jenkins-actions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Action jenkins-action

This Github action helps you to programmatically trigger Jenkins jobs.

Use Action

As a prerequisite you need to have two environment variables available:

  • JENKINS_USER: Your Jenkins username
  • JENKINS_TOKEN: Your Jenkins API token

This can be achieved by any previous step or other measure to inject credentials into your workflow. For LeanIX use-cases you can use this action. Subsequently you can integrate your Jenkins job:

- uses: leanix/jenkins-action@master
  with:
    jobBuildUrl: https://myci.inter.net/job/my-job/build

Please note that you need to provide the build URL of your job. Depending on your job this could be /build, /buildWithParameters, etc.

The following parameters are currently supported:

  • jobBuildUrl: Build URL of your job
  • waitForCompletion: Actively poll until the job completes with success, error, etc.
  • parameters: Linebreak-separated list of key value pairs to be provided as parameters for the job

Example usage

Copyright and license

Copyright 2020 LeanIX GmbH under the Unlicense license.

About

Trigger and monitor Jenkins build jobs with Github Actions for TOTANGO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.8%
  • Shell 4.2%