> _______________________________________________On Feb 23 23:24, karthik kumar wrote:
> Hi all,
> My name is Karthik. In our company we are planning have our own
> t_functional testing running and add more tests and contribute back to the
> community. To start with planning to run test suite in Vagrant VM and got
> struck in pushing the test suite to Vagrant VM and run the ./runtest.sh
> I know I can have a "Execute Shell" block in Jenkins with vagrant ssh -c
> "git clone xxxx" and vagrant ssh -c "./runtests.sh" but it doesn't look the
> right way to do with Jenkins !! Isn't it ? My blind guess on whats being
> done in ci.centos is kickstarting machine/provisioning VM, making it as
> jenkins-slave and running the job on it ?
>
> So can you please advice how test suite is pushed to target Machine/VM ?
>
> Thanks
> Ci-users mailing list
> Ci-users@centos.org
> https://lists.centos.org/mailman/listinfo/ci-users
Hi Karthik,
Generally what projects do in ci.centos.org is to use Jenkins as the
orchestrator, and do all the heavy lifting on the 'provisioned' machine,
including cloning the test harness itself.
So in your example you could do something like:
vagrant ssh -c "git clone <url_of_your_test_suite>; ./runtests.sh"
That would pull down a copy of the t_functional suite into your fresh
vagrant box.
Cheers!
-- Brian