155 </exec> |
155 </exec> |
156 <copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}" failonerror="false"/> |
156 <copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}" failonerror="false"/> |
157 |
157 |
158 <echo message="INFO Updating smoketest package with test info"/> |
158 <echo message="INFO Updating smoketest package with test info"/> |
159 |
159 |
160 <if><equals arg1="${sf.spec.test.target}" arg2="syborg"/> |
160 <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
161 <then> |
161 <arg value="ats_specialise_test_drop.pl"/> |
162 <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
162 <arg value="--test-drop-name=Smoketest-${build.id}"/> |
163 <arg value="ats_specialise_test_drop.pl"/> |
163 <arg value="--host-name=${env.COMPUTERNAME}.ad-sfpd.intra"/> |
164 <arg value="--test-drop-name=Smoketest-${build.id}"/> |
164 <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/> |
165 <arg value="--host-name=${env.COMPUTERNAME}.ad-sfpd.intra"/> |
165 <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/> |
166 <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/> |
166 <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/> |
167 <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/> |
167 <arg value="--publish=${publish.dir}\ats_reports"/> |
168 <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/> |
168 <arg value="--bld-drive=${build.drive}"/> |
169 <arg value="--publish=${publish.dir}\ats_reports"/> |
169 <arg value="--test-target=${sf.spec.test.target}"/> |
170 <arg value="--bld-drive=${build.drive}"/> |
170 <arg value="--image-path=${sf.spec.test.imagepath}"/> |
171 <arg value="--image-path=${sf.spec.test.imagepath}"/> |
171 <arg value="--ats-version=${sf.spec.ats.version}"/> |
172 </exec> |
172 </exec> |
173 </then> |
173 |
174 <else> |
|
175 <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
|
176 <arg value="ats_specialise_test_drop.pl"/> |
|
177 <arg value="--test-drop-name=Smoketest-${build.id}"/> |
|
178 <arg value="--host-name=${env.COMPUTERNAME}.ad-sfpd.intra"/> |
|
179 <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/> |
|
180 <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/> |
|
181 <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/> |
|
182 <arg value="--publish=${publish.dir}\ats_reports"/> |
|
183 <arg value="--bld-drive=${build.drive}"/> |
|
184 </exec> |
|
185 </else> |
|
186 </if> |
|
187 <!-- Now ready to send to ATS3 --> |
174 <!-- Now ready to send to ATS3 --> |
188 </target> |
175 </target> |
189 |
176 |
190 <!-- Sending testdrop to ATS3 --> |
177 <!-- Sending testdrop to ATS3 --> |
191 |
178 |