diff --git a/releng.control/cc_copyArtifacts.xml b/releng.control/cc_copyArtifacts.xml index d4e501d5482b37e86d1a0132e56ccdd9fd3323e4..e1d95db94b4dfc8956636e819e68399d5ac1223d 100644 --- a/releng.control/cc_copyArtifacts.xml +++ b/releng.control/cc_copyArtifacts.xml @@ -46,15 +46,6 @@ unless="env.PROJECT_PROJECTS" /> <fail unless="projectname" /> - <fail - message="Nothing to copy. Build failed earlier."> - <condition> - <not> - <available - file="${env.PROJECT_PROJECTS}/${projectname}/workdir/${buildLabel}" /> - </not> - </condition> - </fail> <property name="labelfile" value="${env.PROJECT_PROJECTS}/${projectname}/workdir/label.properties" /> @@ -68,5 +59,14 @@ <property name="localStampedArtifactsDirectory" 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}" /> + </not> + </condition> + </fail> </target> </project> \ No newline at end of file