Always geting "No agent can build this Job" for php/phpunit/composer/ant

Martin Poirier-Theoret January 19, 2013

I'm setting up a project with php. Everything trigger properly before I got any task other thant checkout.

I've add phpunit call with a custom bootstrap in the phpunit.xml file. It failed because the file wasn't there. This file is generated via composer.phar that need to be executed prior the phpunit task. So I add a ant call that will use the default configuraiton (so just "ant") and here is the build.xml file

<?xml version="1.0" encoding="UTF-8"?>
<project name="base" default="build">
  <target name="build">
    <exec executable="php">
      <arg value="composer.phar" />
	  	<arg value="install" />
	  </exec>
  </target>
</project>

Since than the build get trigger but get stuck with:

"No agent can build this Job"

I don't know what to do from there !

2 answers

1 accepted

0 votes
Answer accepted
Martin Poirier-Theoret February 5, 2013

The issue have been resolve using the Atlassion support. It was related to the fact that I 'ant' instead of 'ant 1.8' for the job configuration

0 votes
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2013

Hi,

You can solve this adding the necessary capabilities on the Remote Agent. Please proceed as described here: https://confluence.atlassian.com/display/BAMBOO/Configuring+elastic+agent+capabilities

If you still need help with this, please raise a support request at https://support.atlassian.com

Lucas Lima

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events