我正在使用流浪者从jenkins的工作中提取一个ec2实例。即使安装了流浪者-aws插件,我在提到“插件迷航-aws”时发现了一个错误。
但是如果我把机器从外壳上旋转就没有错误了。
安装版本:迷航器1.4.1,用命令安装的迷航器-aws插件:vagrant plugin install vagrant-aws
以下是jenkins构建的错误
Building in workspace /var/lib/jenkins/workspace/spinup
[spinup] $ /bin/sh -xe /tmp/hudson7580124594744420690.sh
+ cd /home/ubuntu/envs/test
+ vagrant up --provider=aws
Vagrant failed to initialize at a very early stage:
The plugin "vagrant-aws" could not be found. Please make sure that it is
properly installed via `vagrant plugin`. Note that plugins made for
Vagrant 1.0.x are not compatible with 1.1+ and this error will likely
continue to show when you use `plugin install` with a 1.0.x plugin.
Build step 'Execute shell' marked build as failure
Finished: FAILURE发布于 2013-12-23 15:08:08
确保Jenkins用户能够访问与您正在测试的相同的迷茫可执行文件和插件。
正常情况下,Jenkins安装创建一个用户,它可能无法访问已安装的迷航器副本。作为诊断,您可以尝试添加一个脚本步骤,调用流浪者来获得版本。号码和插件列表。
https://stackoverflow.com/questions/20684813
复制相似问题