Skip to content

KyMidd/ActionJenkinsCommitNotification

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ActionJenkinsCommitNotification

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 }}"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published