equal
deleted
inserted
replaced
301 <echo message="Save Diamonds build id value (${diamonds.build.id}) in a file"/> |
301 <echo message="Save Diamonds build id value (${diamonds.build.id}) in a file"/> |
302 <echo message="diamonds.build.id=${diamonds.build.id}" file="${build.log.dir}/diamonds_build_id.properties"/> |
302 <echo message="diamonds.build.id=${diamonds.build.id}" file="${build.log.dir}/diamonds_build_id.properties"/> |
303 </then> |
303 </then> |
304 </if> |
304 </if> |
305 |
305 |
|
306 <!-- Supply build-start info in a BIT file --> |
306 <tstamp> |
307 <tstamp> |
307 <format property="time.now" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/> |
308 <format property="time.now" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/> |
308 </tstamp> |
309 </tstamp> |
309 |
|
310 <echo message="build_id_string	${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
310 <echo message="build_id_string	${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
311 <echo message="package	${sf.spec.job.name}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
311 <echo message="package	${sf.spec.job.name}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
312 <echo message="platform	${sf.spec.job.codeline}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
312 <echo message="platform	${sf.spec.job.codeline}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
313 <echo message="started	${time.now}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
313 <echo message="started	${time.now}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
314 <echo message="creator	${env.USERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
314 <echo message="creator	${env.USERNAME}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
343 <arg value="--tags=${sf.diamonds.tags}"/> |
343 <arg value="--tags=${sf.diamonds.tags}"/> |
344 <arg value="--output=${build.drive}/output/logs/sf-diamonds-tag-build.xml"/> |
344 <arg value="--output=${build.drive}/output/logs/sf-diamonds-tag-build.xml"/> |
345 </exec> |
345 </exec> |
346 </then> |
346 </then> |
347 </if> |
347 </if> |
|
348 <!-- Supply labels info to the BIT file --> |
|
349 <for list="${sf.spec.publish.diamonds.tag}" param="label"> |
|
350 <sequential> |
|
351 <echo message="label	@{label}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
|
352 </sequential> |
|
353 </for> |
348 </target> |
354 </target> |
349 |
355 |
350 <target name="sf-record-proj-conf-bom"> |
356 <target name="sf-record-proj-conf-bom"> |
351 <!-- create BOM dir --> |
357 <!-- create BOM dir --> |
352 <mkdir dir="${build.drive}/output/logs/BOM"/> |
358 <mkdir dir="${build.drive}/output/logs/BOM"/> |