#5592 Install Jenkins plugin to test Bodhi pull requests
Closed: Will Not/Can Not fix Opened by bowlofeggs.

I would like to have Jenkins automatically test Bodhi pull requests and then mark the pull request as having passed or failed the tests. It would be ideal to configure it so that it only automatically runs the tests on PRs submitted by users who are members of the fedora-infra organization on Github. For users who are not in that organization, it would be best if it just ignored the PR, or provided an organization member a way to state that the code has been reviewed as safe and then run it on Jenkins (to prevent malicious code from being run on Jenkins).

I believe there is a Jenkins plugin that does this, but I don't know what it is called. If you don't either, let me know and I'll do the research.


or you could use pagure :-p :money_with_wings:

@pingou Can you point me at the docs in pagure that allow this? I didn't see them except in a general sense. I need them for a similar project.

This would be the doc on how to use pagure-ci (which only supports Jenkins atm): https://docs.pagure.org/pagure/usage/pagure_ci.html

@pingou these are the docs I found. I'm not seeing the ones I'd expect that tell me as a person working on a Fedora project how to setup the Fedora Jenkins on the Fedora Pagure instance.

I'd like one of the output cases of my Jenkins job to be to update the files being served as a website.

As an example, but not what I'm doing, if we had a Jekyll website, the commiy would trigger some last minute testing and republish the site. A PR could just trigger tests.

Ok, I'm confused here, how to setup the Fedora Jenkins on the Fedora Pagure instance. how to set-up jenkins to interact with pagure is precisely what is described here:
https://docs.pagure.org/pagure/usage/pagure_ci_jenkins.html#configure-your-project-on-jenkins

Or are you looking on how to get a project created on jenkins? In which case, you may be looking for: https://fedoraproject.org/wiki/Jenkins@infra

The second link was what I was looking for. It looks like Fedora's Jenkins is only able to be used for CI, not CD. I'll follow up with infra. Thank you.

I guess this is the plugin required

https://wiki.jenkins-ci.org/display/JENKINS/Github+pull+request+builder+plugin

I think this can be closed now since bodhi is in centos-ci...

Please re-open if you still need something here.

:fireworks:

Metadata Update from @kevin:
- Issue close_status updated to: Will Not/Can Not fix
- Issue status updated to: Closed (was: Open)

Metadata