The following job sample illustrates a job that you can submit to a specified version of an application.
The job scheduler sends the job to SimpleCIEar application. In the following code, the edition is defined as v2.
<?xml version="1.0" encoding="UTF-8"?> <job name="SimpleCIEar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <jndi-name>ejb/com/ibm/ws/ci/SimpleCIEJB</jndi-name> <job-scheduling-criteria> <required-capability expression="application_property$edition=v2" /> </job-scheduling-criteria> <job-step name="Step1"> <!-- classname element within the job-step indicates this is a CI application --> <classname>com.ibm.websphere.ci.samples.SimpleCIWork</classname> <!-- following element is used to pass properties (name-value pairs) to CI application --> <props> <prop name="calculationTimeInSecs" value="5" /> <!-- NOTE: the following filename MUST be updated to point to a valid location on the LREE filesystem --> <prop name="outputFileName" value="d:\temp\SimpleCI.output" /> </props> </job-step> </job>