incorporate niceness for low priority jobs
diff --git a/releng.control/cc_copyArtifacts.xml b/releng.control/cc_copyArtifacts.xml
index 9726b91..1775f62 100644
--- a/releng.control/cc_copyArtifacts.xml
+++ b/releng.control/cc_copyArtifacts.xml
@@ -2,24 +2,22 @@
name="cc_copyArtifacts"
default="copyArtifacts"
basedir=".">
-
-
- <!-- = = = standard properties pattern = = = -->
- <!--
- Note to be cross-platform, "environment variables" are only appropriate for
- some variables, e.g. ones we set, since properties are case sensitive, even if
- the environment variables on your operating system are not, e.g. it will
- be ${env.Path} not ${env.PATH} on Windows -->
+ <!--
+ Standard properties pattern. Note: to be cross-platform,
+ "environment variables" are only appropriate for some variables,
+ e.g. ones we set, since properties are case sensitive, even if
+ the environment variables on your operating system are not, e.g.
+ it will be ${env.Path} not ${env.PATH} on Windows
+ -->
<property
- environment="env" />
-
- <!--
- Let users override standard properties, if desired.
- If directory, file, or some properties do not exist,
- then standard properties will be used.
- -->
+ environment="env"/>
+ <!--
+ Let users override standard properties, if desired. If
+ directory, file, or some properties do not exist, then standard
+ properties will be used.
+ -->
<property
- file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties" />
+ file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"/>
<!-- = = = end standard properties pattern = = = -->
<target
@@ -27,44 +25,44 @@
depends="init"
if="buildLabel">
<mkdir
- dir="${localStampedArtifactsDirectory}" />
+ dir="${localStampedArtifactsDirectory}"/>
<mkdir
- dir="${localStampedArtifactsDirectory}/${buildLabel}" />
+ dir="${localStampedArtifactsDirectory}/${buildLabel}"/>
<copy
todir="${localStampedArtifactsDirectory}/${buildLabel}"
overwrite="true"
failonerror="false">
<fileset
- dir="${env.PROJECT_PROJECTS}/${projectname}/workdir/${buildLabel}" />
+ dir="${env.PROJECT_PROJECTS}/${projectname}/workdir/${buildLabel}"/>
<fileset
- file="${env.ANT_WORKING}/${projectname}/antBuilderOutput.log" />
+ file="${env.ANT_WORKING}/${projectname}/antBuilderOutput.log"/>
</copy>
</target>
<target
name="init">
<fail
- unless="env.PROJECT_PROJECTS" />
+ unless="env.PROJECT_PROJECTS"/>
<fail
- unless="projectname" />
+ unless="projectname"/>
<property
name="labelfile"
- value="${env.PROJECT_PROJECTS}/${projectname}/workdir/label.properties" />
+ value="${env.PROJECT_PROJECTS}/${projectname}/workdir/label.properties"/>
<available
file="${labelfile}"
- property="labelfileavailable" />
+ property="labelfileavailable"/>
<fail
- unless="labelfileavailable" />
+ unless="labelfileavailable"/>
<property
- file="${labelfile}" />
+ file="${labelfile}"/>
<property
name="localStampedArtifactsDirectory"
- value="${localArtifactsDirectory}/${cctimestamp}" />
+ value="${localArtifactsDirectory}/${cctimestamp}"/>
<fail
message="Build probably failed early. Found nothing to copy at ${env.PROJECT_PROJECTS}/${projectname}/workdir/${buildLabel}">
<condition>
<not>
<available
- file="${env.PROJECT_PROJECTS}/${projectname}/workdir/${buildLabel}" />
+ file="${env.PROJECT_PROJECTS}/${projectname}/workdir/${buildLabel}"/>
</not>
</condition>
</fail>