Squore in a Continuous Integration Environment

Squore can be used in a continuous integration environment using the commands detailed in Chapter 3, Command Line Reference

Below is an example of a native call to the client using the ant exec task:

<project name="CIproject" default="build" basedir=".">
    <property name="squore.server" 
    	value="http://localhost:8180/SQuORE_Server>
    <property name="squore.client" 
    	value="D:\CLI"/>
 
	<target name="build">
		<exec executable="java">
			<arg value="-Dsquore.home.dir=${SQUORE_HOME}"/>
			<arg value="-jar"/>
			<arg value="${SQUORE_HOME}\lib\squore-engine.jar"/>
			<arg value="--url=${squore.server.url}" />
			<arg value="--version=${label}" />
			<arg value="--repository type=FROMPATH,path=${source.dir}" />
			<arg value="--color=rgb(255,0,0)" />
			<arg value="--name=${project.name}" />
			<arg value="--login=demo" />
			<arg value="--password=demo" />
			<arg value="--wizardId=Code ISO-9126 Maintainability Level" />
			<arg value="--tag BV=0" />
			<arg value="--tag COST=0" />
			<arg value="--commands=PROCESS_CREATION" />
		</exec>
    </target>
</project>