This repository was archived by the owner on Mar 8, 2018. It is now read-only.

Description
When using vagrant plugin and running job in jenkins slave, following error is reported:
There is no Vagrantfile in your workspace!
We looked in: /var/lib/jenkins/workspace/korppi-openuniv-studyright-service-vagrant-2
Recording test results
No test report files were found. Configuration error?
Finished: NOT_BUILT
However slave contains Vagrantfile in the given location.
It seems that the check is performed in the code is not properly using slaves resources:
unless FilePath.exists? FilePath.join(path, 'Vagrantfile')
listener.info("There is no Vagrantfile in your workspace!")
listener.info("We looked in: #{path}")
build.native.setResult(Java.hudson.model.Result::NOT_BUILT)
build.halt
end