You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2017/10/15 21:52:36 UTC
[royale-compiler] 02/02: generate an env.properties for jenkins so
we can point to different branches
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch feature/rename
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 713cfe828f80361ee1f2ac15720a1320dce813ab
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sun Oct 15 14:52:22 2017 -0700
generate an env.properties for jenkins so we can point to different branches
---
jenkins.xml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/jenkins.xml b/jenkins.xml
index ede556c..fab3965 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -30,7 +30,7 @@
<!-- (erikdebruin) Hard coded path for Windows, sorry ;-) -->
<property name="closure.root" location="C:/Google/Closure/Library" />
- <target name="main" depends="clean,init,jflex-download,closure-lib-download"/>
+ <target name="main" depends="clean,init,jflex-download,closure-lib-download,env-properties"/>
<target name="init">
<mkdir dir="${falcon.jenkins.home}" />
@@ -67,5 +67,14 @@
<delete dir="${closure.root}" />
</target>
+
+ <target name="check-env" >
+ <available file="${basedir}/env.properties" type="file"
+ property="env.available" />
+ </target>
+
+ <target name="env-properties" depends="check-env" unless="env.available" >
+ <echo file="${basedir}/env.properties">env.ASJS_HOME=${env.ASJS_HOME}</echo>
+ </target>
</project>
--
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.