Communication between booted Vagrant Virtual Machine and Jenkins -
i trying create vm run few tests , destroy once done. using jenkins 'boot vagrant vm' option boot vm , using chef install required packages , run tests in it. when testing completed in vm, there way it(vm) can communicate results job in jenkins triggered it?
i stuck part. have implemented booting of vm based on custom vagrant box has essential packages , softwares required run tests.
first of markus, if had left answer, i'd surely accept it.
i edited vagrantfile add synched folders config.vm.synced_folder "host/","/guest"
. creates guest folder in vm , host folder created on host system reflect on vm.
all did markus suggested polling jenkins (using files found trigger plugin) folder search specific file 1 expected see/communicated vm.
in vm, whenever testing done, i'd put result in host folder , it'd automatically reflect in local machine, in folder jenkins polling , build project whichever polling folder , ta dahhh ....!
Comments
Post a Comment