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

0 votes
Accepted answer

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


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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

877 views 3 9
Read article

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