Jenkins with Vagrant issue
Hi,
I have set up vagrant and virtual box on my ubuntu 14 machine. Jenkins slave polls the scripts from perforce and then runs vagrant up. But it throws an error saying that cannot find the box. This is what the error looks like in jenkins console output:
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'windows2012r2' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Adding box 'windows2012r2' (v0) for provider: virtualbox
default: Downloading: windows2012r2
default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't open file /jenkins/workspace/My-Main-Smoke/integration/my/main/qa/scripts/Smoke/windows2012r2
But when I run vagrant up manually in the jenkins workspace and if I don't poll the scripts from perforce and use the same workspace it works fine too.
|