jenkinsci / github-autostatus-plugin

Jenkins plugin to provide automatic status for multibranch jobs
https://plugins.jenkins.io/github-autostatus/
MIT License
52 stars 34 forks source link

Could not find githubSCMSource - status will not be provided for this build #32

Closed phishy closed 5 years ago

phishy commented 5 years ago

What plugin defines this class? I have GitHub configured in System global.

phishy commented 5 years ago

Upon further investigation, it seems that I needed to choose GitHub Organization over Multibranch Pipeline style of project.

jeffpearce commented 5 years ago

Hi @phishy. What are you trying to do with the plugin? It can do two things: 1 Provide per-stage status to your github pull requests 2 Send job and stage status to a configured influxbd rest API

If you want to use it for influxdb, you should be able to ignore the warnings, and shouldn't need to choose GH Org. I can look into whether it can work with GH org though.

phishy commented 5 years ago

@jeffpearce Oh it just took me a minute to realize that I had to choose GitHub Organization in order to get the stages to autoreport status to GitHub. For Multibranch Pipeline, it was throwing the error 'Could not find githubSCMSource'. Great work tho!