|
| 1 | +<!-- |
| 2 | + Copyright © 2010 - 2013 Apama Ltd. |
| 3 | + Copyright © 2013 - 2018 Software AG, Darmstadt, Germany and/or its licensors |
| 4 | + SPDX-License-Identifier: Apache-2.0 |
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + Unless required by applicable law or agreed to in writing, software |
| 10 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + See the License for the specific language governing permissions and |
| 13 | + limitations under the License. |
| 14 | +--> |
| 15 | + |
| 16 | +<project name="testBuild" default="buildDeployTest" basedir="." > |
| 17 | + <!-- project.properties --> |
| 18 | + <property file="project.properties"/> |
| 19 | + |
| 20 | + <property name="workspace.dir" location="."/> |
| 21 | + |
| 22 | + <!-- remap the VCS structure defined in project.properties to have absolute paths --> |
| 23 | + <property name="isProjectsDir" location="${isPackages}"/> |
| 24 | + <property name="isTestDir" location="${isTests}"/> |
| 25 | + <property name="bpmProjectsDir" location="${bpmProjects}"/> |
| 26 | + <property name="mwsProjectsDir" location="${mwsProjects}"/> |
| 27 | + <property name="rulesProjectsDir" location="${rulesProjects}"/> |
| 28 | + <property name="umProjectsDir" location="${umExport}"/> |
| 29 | + |
| 30 | + <property name="buildOutputDir" value="${workspace.dir}/target/${projectName}/build"/> |
| 31 | + <property name="repositoryName" value="${projectName}Repo"/> |
| 32 | + <property name="testPackageNamePattern" value="*_Test"/> |
| 33 | + <property name="jenkinsReportDir" value="${workspace.dir}/report"/> |
| 34 | + |
| 35 | + |
| 36 | + <target name="buildDeployTest" depends=""> |
| 37 | + <ant dir="${SAG_CI_HOME}" antfile="${SAG_CI_HOME}/build.xml" target="buildDeployTest" inheritAll="true"/> |
| 38 | + </target> |
| 39 | + |
| 40 | + <target name="build" depends=""> |
| 41 | + <ant dir="${SAG_CI_HOME}" antfile="${SAG_CI_HOME}/build.xml" target="build" inheritAll="true"/> |
| 42 | + </target> |
| 43 | + |
| 44 | + <target name="deploy" depends=""> |
| 45 | + <ant dir="${SAG_CI_HOME}" antfile="${SAG_CI_HOME}/build.xml" target="deploy" inheritAll="true"/> |
| 46 | + </target> |
| 47 | + |
| 48 | + <target name="test" depends=""> |
| 49 | + <ant dir="${SAG_CI_HOME}" antfile="${SAG_CI_HOME}/build.xml" target="test" inheritAll="true"/> |
| 50 | + </target> |
| 51 | + |
| 52 | +</project> |
0 commit comments