This is to setup Pagure CI for development. It is assumed that all the dependencies are resolved.
Run:
PAGURE_CONFIG=/path/to/config PYTHONPATH=. python pagure-ci/pagure_ci_server.py
Jenkins configuration is the most important part of how the Pagure CI works, after you login to your Jenkins Instance.
FORMAT: JSON PROTOCOL: HTTP EVENT: Job Finalized URL: <The URL provided in the Pagure CI hook on pagure> TIMEOUT: 3000 LOG: 1
Example Script
# Script specific for Pull-Request build if [ -n "$REPO" -a -n "$BRANCH" ]; then git remote rm proposed || true git remote add proposed "$REPO" git fetch proposed git checkout origin/master git config --global user.email "you@example.com" git config --global user.name "Your Name" git merge --no-ff "proposed/$BRANCH" -m "Merge PR" fi # Part of the script specific to how you run the tests on your project