<?xml version="1.0" encoding="UTF-8"?>

<project name="api-tests" default="build">

 <target name="build" depends="prepare, api-tests"/>

<target name="clean" description="Cleanup build artifacts">
  <delete dir="${basedir}/build/results/logs"/>
 </target>

 <target name="prepare" depends="clean"
         description="Prepare for build">
  <mkdir dir="${basedir}/build/results/logs"/>
 </target>

 <target name="api-tests" depends="prepare" description="Run unit tests with PHPUnit">
  <exec executable="phpunit" failonerror="true">
	<arg value="--configuration"/>
	<arg path="phpunit.xml.dist"/>
  </exec>
 </target>


</project>

<?xml version="1.0" encoding="UTF-8"?>

<project name="api-tests" default="build">
 <property name="storage-api-url" value="https://connection-devel.keboola.com"/>
 <property name="storage-api-token" value="your_token"/>

 <target name="build" depends="prepare, api-tests"/>

<target name="clean" description="Cleanup build artifacts">
  <delete dir="${basedir}/build/results/logs"/>
 </target>

 <target name="prepare" depends="clean"
         description="Prepare for build">
  <mkdir dir="${basedir}/build/results/logs"/>
 </target>

 <target name="api-tests" depends="prepare" description="Run unit tests with PHPUnit">
  <exec executable="phpunit" failonerror="true">
	<env key="STORAGE_API_URL" value="${storage-api-url}"/>
	<env key="STORAGE_API_TOKEN" value="${storage-api-token}"/>
	<arg value="--configuration"/>
	<arg path="phpunit.xml.dist"/>
  </exec>
 </target>


</project>

Build - token and url parameters
Build - token and url parameters
