wulff / vagrant-jenkins

7 stars 5 forks source link

Jenkins phing #2

Open nlisgo opened 11 years ago

nlisgo commented 11 years ago

I have set up a new job in jenkins and it failed as it tried to run the phing command:

phing -buildfile /var/lib/jenkins/jobs/drupal-profile/workspace/build/build.xml -logger phing.listener.DefaultLogger

Phing does not seem to be installed on the master vbox.

I got the following error when I ran vagrant up although it appears after the Finished catalog run, not sure it is related:

The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

cd /tmp/vagrant-puppet/manifests && puppet apply --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' site.pp --detailed-exitcodes || [ $? -eq 2 ]

nlisgo commented 11 years ago

For some more information can I assume that pear should be installed on the master vbox as well as phing.

I'm not sure where it has crept in but it doesn't seem to be setup correctly. In order to get it working I must install phing myself and also I need to restart jenkins before all of the plugins that are installed are available.

These are the error messages that I am getting when vagrant up is run:

notice: /Stage[main]//Node[phpqa.local]/File[/usr/share/php/PHP/CodeSniffer/Standards/Drupal]: Dependency Package[pear-pear.phing.info-phing] has failures: true warning: /Stage[main]//Node[phpqa.local]/File[/usr/share/php/PHP/CodeSniffer/Standards/Drupal]: Skipping because of failed dependencies notice: Finished catalog run in 1493.95 seconds The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

cd /tmp/vagrant-puppet/manifests && puppet apply --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' site.pp --detailed-exitcodes || [ $? -eq 2 ]