Skip to content

fake-koji-scm-0.1

Compare
Choose a tag to compare
@judovana judovana released this 20 Jul 13:00
· 1140 commits to master since this release
d86b268

This is first release of stable fake-koji server and aligned jenkins-scm-koji-plugin.
Fake koji is xmlrpc + http compatible server with fedora koji build-system.
Unlike Fedora Koji, it is not responsible for build. It just accept your builds and sources and offer them
You can start it like: /opt/jdk/bin/java -cp /home/tester/jenkins/jenkins-scm-koji-plugin-jar-with-dependencies.jar:/home/tester/jenkins/commons-logging.jar org.fakekoji.JavaServer -kojidbhome=/mnt/raid1/local-builds -reposhome=/mnt/raid1/upstream-repos -jenkinshost=master.cloud.com
It then offers files on selected ports, accept uploads via scp, offer http view and downloads.

Jenkins koji plugin is then second part of the chain. Upload hpi to yours jenkins plugins (making it official plugin in jenkins plugins is work in progress), set url of your the koji instance you wont to pull form or of your own fake koji (can work with more instances in time) set product(s) this jenkins job should work with, and enjoy!
There is known issue with jenkins 2.0+ - you must add -Dhudson.remoting.ClassFilter=hudson.plugins.scm.koji.model.Build,hudson.plugins.scm.koji.model.RPM

More detailed documentation and much of examples is now work in progress.