Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you set up this plugin? #102

Open
nahtahul opened this issue Jul 13, 2020 · 3 comments
Open

How do you set up this plugin? #102

nahtahul opened this issue Jul 13, 2020 · 3 comments

Comments

@nahtahul
Copy link

How do you set up this plugin and configure it with GitHub? I tried installing it to my Jenkins server, but I cannot find the configuration options referenced in the README. Are there any dependencies that I am missing?

@biolauri
Copy link

I'll try to help, although I'm not a maintainer of this plug-in. :-)

The configuration options in the README can be found in the Jenkins settings via Manage Jenkins > Configure System in section Autostatus Config. On the official plugin page, you can find a bit more options (it's also linked in the Readme at the bottom).

In general, to get it working just with GitHub, you need to install this plugin together with GitHub Branch Source (which is a dependency). For me, it works well with GitHub organizations (adding a new GitHub Organization pipeline and configure it with the correct GitHub credentials under Projects in the pipeline config). There seems to be an error with non-org pipelines, see #86 (which is a possible duplicate of #26 & #50).

@rogerluan
Copy link

I'll leave something here that took me the whole day to figure out...

Yes, you need to set up the GitHub App. But it's not enough to just change the git credentials provider from SSH + Private Key to GitHub App, you actually have to change the Source from "Git" to "GitHub" in your Multibranch Pipeline (my case). Otherwise it won't report any checks.

Hope this helps someone out there!

@rogerluan
Copy link

My setup works just fine in a non-org pipeline, btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants