This pack creates a basic integration with Jenkins
To trigger events from Jenkins, use Jenkins to send a webhook to StackStorm.
Examples of rules can be found in the rules
directory.
Jenkins jobs are required to have the "parameterized" setting enabled in order for this pack to be able to start jobs.
Copy the example configuration in jenkins.yaml.example
to /opt/stackstorm/configs/jenkins.yaml
and edit as required.
url
- FQDN to Jenkins API endpoint (e.x.: http://jenkins.mycompany.org:8080)username
- Jenkins Username (if auth is enabled)password
- Jenkins Password (if auth is enabled)
You can also use dynamic values from the datastore. See the docs for more info.
build_job
- Kick off CI build based on project namelist_running_jobs
- List all currently running jobsenable_job
- Enable Jenkins jobdisable_job
- Disable Jenkins jobget_job_info
- Retrieve Jenkins job informationinstall_plugin
- Install plugin