[Ci-users] Question on testing in Vagrant with Jenkins
kumarkarthikn at gmail.com
Wed Feb 24 04:17:58 UTC 2016
Thanks Brian for your response.
I actually read the console outputs of the builds
got some better idea on how its done. I looked for the script
*and found it here
and OH! it talks to admin.ci.centos gets the right VM scp's the test suite
and runs..... Sorry I couldn't get how the .*/runtest.sh* is triggered as
its not here
as expected and its not anywhere in the repo ? Can you help please ?
On Wed, Feb 24, 2016 at 12:42 AM, Brian Stinson <brian at bstinson.com> wrote:
> 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
> > 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
> > "git clone xxxx" and vagrant ssh -c "./runtests.sh" but it doesn't look
> > 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 at 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.
> -- Brian
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ci-users