Updates to Jenkins PR test jobs

Please note that I've been updating Jenkins jobs to merge PR branches
properly to develop/master before testing, rather than applying patches.
This should improve the reliability, and help it handle complex
branches that contain merges etc.

So far I've converted hammer-cli-katello, foreman and smart-proxy. I'll
make a start on katello tomorrow I hope.

Let me know if you see anything odder than usual.

Configuration details ("new style"):
http://projects.theforeman.org/projects/foreman/wiki/Jenkins#Pull-request-testing
(plus minor change to the config of test-pull-requests in foreman-infra)

··· -- Dominic Cleal Red Hat Engineering

Thanks to Stephen for alerting me, since PR jobs were intermittently
failing as Jenkins was trying to find randomly remembered revisions in
repositories from previous PR builds.

It seems the only way to fix this was to move from Jenkins itself doing
the merge between branches to a short shell snippet to fetch the PR
remote and merge the branch in, which appears to work. The Foreman
job's been updated to do this and I'll continue to monitor it.

··· On 27/01/14 23:17, Dominic Cleal wrote: > Please note that I've been updating Jenkins jobs to merge PR branches > properly to develop/master before testing, rather than applying patches. > This should improve the reliability, and help it handle complex > branches that contain merges etc. > > So far I've converted hammer-cli-katello, foreman and smart-proxy. I'll > make a start on katello tomorrow I hope. > > Let me know if you see anything odder than usual. > > Configuration details ("new style"): > http://projects.theforeman.org/projects/foreman/wiki/Jenkins#Pull-request-testing > (plus minor change to the config of test-pull-requests in foreman-infra)


Dominic Cleal
Red Hat Engineering

> Please note that I've been updating Jenkins jobs to merge PR branches
> properly to develop/master before testing, rather than applying patches.
> This should improve the reliability, and help it handle complex
> branches that contain merges etc.
>
> So far I've converted hammer-cli-katello, foreman and smart-proxy. I'll
> make a start on katello tomorrow I hope.

Katello jobs have been updated now to use pr_git_* parameters and merge.
It appears to be working on the massive dynflow branch, which is a relief.

··· On 27/01/14 23:17, Dominic Cleal wrote:

Let me know if you see anything odder than usual.


Dominic Cleal
Red Hat Engineering