equal
deleted
inserted
replaced
92 <runtarget target="sf-get-source"/> |
92 <runtarget target="sf-get-source"/> |
93 </then> |
93 </then> |
94 </if> |
94 </if> |
95 </target> |
95 </target> |
96 |
96 |
97 <target name="sf-postbuild"> |
97 <target name="sf-postbuild" depends="sf-zip-logs"> |
98 <echo>[SF-POSTBUILD]</echo> |
98 <echo>[SF-POSTBUILD]</echo> |
99 <runtarget target="publish"/> |
99 <runtarget target="publish"/> |
100 <if> |
100 <if> |
101 <istrue value="${sf.spec.publish.enable}" /> |
101 <istrue value="${sf.spec.publish.enable}" /> |
102 <then> |
102 <then> |
104 <runtarget target="publish"/> |
104 <runtarget target="publish"/> |
105 </then> |
105 </then> |
106 </if> |
106 </if> |
107 </target> |
107 </target> |
108 |
108 |
|
109 |
|
110 <!-- package all logs into zipfile before publish --> |
|
111 <target name="sf-zip-logs"> |
|
112 <property name="temp.log.zip" value="${env.TEMP}/build_logs_${sf.spec.job.name}_${build.number}.zip"/> |
|
113 <zip destfile="${temp.log.zip}" basedir="${build.log.dir}"/> |
|
114 <move file="${temp.log.zip}" todir="${build.log.dir}" failonerror="false"/> |
|
115 </target> |
|
116 |
|
117 |
109 <target name="sf-build-noprep" depends="sf-compile"> |
118 <target name="sf-build-noprep" depends="sf-compile"> |
110 <echo>[SF-BUILD-NOPREP]</echo> |
119 <echo>[SF-BUILD-NOPREP]</echo> |
111 </target> |
120 </target> |
112 |
121 |
113 <target name="create-canonical-sysdef-file"> |
122 <target name="create-canonical-sysdef-file"> |
144 |
153 |
145 <target name="sf-get-source" depends="sf-generate-source-spec"> |
154 <target name="sf-get-source" depends="sf-generate-source-spec"> |
146 <ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
155 <ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
147 </target> |
156 </target> |
148 |
157 |
|
158 |
149 </project> |
159 </project> |
150 |
160 |
151 |
161 |