<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=34617#comment-34617 ]</pre>
<h3>eyal edri commented on OVIRT-1584:</h3>
<p>Hi Ondra, It's not really possible to add what you're asking with the current way OST works in CI, since the OST job isn't building ( and shouldn't ) build any project, just test it.</p>
<p>The way to test PRs in Jenkins is to use the manual job [1] and custom RPMs, usually built by the &lsquo;build on demand&rsquo; feature. The blog [2] described how to do it, though we'll need to check if we support &lsquo;build on demand&rsquo; for GitHub projects like ovirt-ansible.</p>
<p>We'll need to add the &lsquo;ansible&rsquo; suite the the list of suites you can test using the manual job and to verify you can build from a patch, so you'll have a custom yum repo to provide the job to test.</p>
<p>[~dbelenky@redhat.com] can you help adding the ansible suite to the list of suites available in the manual OST Job? [~bkorren@redhat.com] do we support &lsquo;build on demand&rsquo; for GitHub projects? if not, then i guess &lsquo;check-patch&rsquo; job can be used if the RPM is built there</p>
<p>[1] <a href="http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_manual/">http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_manual/</a> [2] <a href="https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/">https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/</a></p>
<blockquote><h3>Create Branch and User fields in ansible_suite job</h3>
<pre>     Key: OVIRT-1584
     URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1584
 Project: oVirt - virtualization made easy
         Issue Type: Bug
         Components: OST, oVirt CI
Reporter: Ondra Machacek
Assignee: infra</pre>
<p>I would like to have following fields in ansible job[1].</p>
<pre>- branch (default: devel)
- username (default: ansible)</pre>
<p>So in OST[2], we can define which branch+ from which git repo, should be fetched, with this we can test PRs. [1] <a href="http://jenkins.ovirt.org/job/system-tests_ansible-suite-master/">http://jenkins.ovirt.org/job/system-tests_ansible-suite-master/</a> [2] <a href="https://github.com/oVirt/ovirt-system-tests/blob/master/run_suite.sh#L212">https://github.com/oVirt/ovirt-system-tests/blob/master/run_suite.sh#L212</a> [~lbednar]</p></blockquote>
<p>&mdash; This message was sent by Atlassian JIRA (v1001.0.0-SNAPSHOT#100058)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BCmpYLyzYS3r1Q939T2sgz3YC-2FpgrrkPookewo-2BBhlD1ICF-2FPtk50BM-2BTZoXunU0RduZuFwy5MpojuCBKIkL2I3qP8YF1E4FLoHrZKMu6yLePyYZIFKgGJM0oomF6rmImc6HMCJleqy-2BUpwu7B9GYPHTxG4sg04zQc1lsrQipX3m28TXWVXMmZ-2F8BDeOqJSoYn9-2FaeSuwzH7PUXHa-2FpXsjo-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>