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

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" />

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

This widget could not be displayed.

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

This widget could not be displayed.


You can solve this adding the necessary capabilities on the Remote Agent. Please proceed as described here:

If you still need help with this, please raise a support request at

Lucas Lima

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

150 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you