Jenkins Commit Notification
ActionsTags
(1)This Action is intended to notify Jenkins when a change has ocurred within a repo. Jenkins operates on a notification model, not a polling model, so this type of action is necessary to trigger a Jenkins build.
name: Jenkins Commit Notification
on:
push:
branches:
- develop
- master
jobs:
jenkins_monitor:
runs-on: ubuntu-latest
steps:
- name: Jenkins Commit Notification
id: jenkins_commit_notification
uses: kymidd/ActionJenkinsCommitNotification@master # Or pin to hash
with:
jenkins-username: "${{ secrets.JENKINS_USERNAME }}"
jenkins-api-token: "${{ secrets.JENKINS_API_TOKEN }}"
Jenkins Commit Notification is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.