[ 
https://issues.apache.org/jira/browse/SOLR-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671673#comment-16671673
 ] 

Kevin Risden commented on SOLR-12932:
-------------------------------------

[~erickerickson] this is how I setup my local jenkins to run it. Workspace is 
cleared since this is executed on transient docker containers. ivysettings.xml 
is just to use my local maven cache.
{code:java}
git init /home/jenkins/agent/workspace/apache-solr-markmiller-test
git config remote.origin.url https://github.com/apache/lucene-solr
git fetch --no-tags origin pull/486/head:pr-486
git checkout pr-486
git rev-parse HEAD
ant ivy-bootstrap -Divysettings.xml=/home/jenkins/.ivy2/ivysettings.xml
cd solr
ant test -Divysettings.xml=/home/jenkins/.ivy2/ivysettings.xml
{code}
This sets up git in a folder, fetches the pr branch, checks it out, prints the 
hash (so I can see which commit it was against later), run ivy-bootstrap, cd 
solr, and run ant test.

> ant test (without badapples=false) should pass easily for developers.
> ---------------------------------------------------------------------
>
>                 Key: SOLR-12932
>                 URL: https://issues.apache.org/jira/browse/SOLR-12932
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Major
>
> If we fix the tests we will end up here anyway, but we can shortcut this.
> Once I get my first patch in, anyone who mentions a test that fails locally 
> for them at any time (not jenkins), I will fix it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to