ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [2/4] ant git commit: tunnel jenkins property via three layers of build files
Date Fri, 26 Jan 2018 19:05:36 GMT
tunnel jenkins property via three layers of build files


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/294f13b8
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/294f13b8
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/294f13b8

Branch: refs/heads/master
Commit: 294f13b8c94a2c2e4a801d60532f90d3e2241d88
Parents: 40a9188
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Fri Jan 26 19:51:04 2018 +0100
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Fri Jan 26 19:51:04 2018 +0100

----------------------------------------------------------------------
 build.xml        | 1 +
 launch-build.xml | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/294f13b8/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index e9701e0..37476c0 100644
--- a/build.xml
+++ b/build.xml
@@ -1914,6 +1914,7 @@ ${antunit.reports}
       <propertyset>
         <propertyref name="antunit.tmpdir"/>
         <propertyref name="ant.home"/>
+        <propertyref name="jenkins"/>
       </propertyset>
     </au:antunit>
   </target>

http://git-wip-us.apache.org/repos/asf/ant/blob/294f13b8/launch-build.xml
----------------------------------------------------------------------
diff --git a/launch-build.xml b/launch-build.xml
index 0103d36..753ef2b 100644
--- a/launch-build.xml
+++ b/launch-build.xml
@@ -21,7 +21,11 @@
         Build file be able to launch the boostrap build of Ant on every supported platform
     </description>
     
-    <property name="args" value="allclean test -Dignore.tests.failed=true -Doptional.jars.whenmanifestonly=skip"
/>
+    <property name="default-args" value="allclean test -Dignore.tests.failed=true -Doptional.jars.whenmanifestonly=skip"
/>
+    <condition property="args" value="${default-args} -Djenkins=t">
+      <isset property="jenkins"/>
+    </condition>
+    <property name="args" value="${default-args}" />
 
     <condition property="launch.cmd" value="${basedir}/build.sh">
         <os family="unix" />


Mime
View raw message