Tool "U3d related Postprocessbuildplayer,performbuild.cs"
1.Jenkins Open Source Package Java-jar Jenkins.war, refer to link http://www.cnblogs.com/itech/archive/2011/11/02/2233343.html.
2.JDK
3.ANT
4.Eclipse
5.Jenkins Plug-in management
Ant pluginthis Plugin adds Apache ant support to Jenkins. |
1.2 |
|
|
|
|
Credentials Pluginthis plugin allows you to the store Credentials in Jenkins. |
1.18 |
|
|
|
|
CVS Pluginintegrates Jenkins with CVS version control system using a modified version of the Netbeans cvsclient. |
2.11 |
|
|
|
|
External Monitor Job Type Pluginadds The ability to monitor the result of externally executed jobs. |
1.4 |
|
|
|
|
Javadoc Pluginthis Plugin adds Javadoc support to Jenkins. |
1.1 |
|
|
|
|
JUnit pluginallows Junit-format test results to be published. |
1.2-beta-4 |
|
|
|
|
LDAP Pluginsecurity realm based on LDAP authentication. |
1.6 |
|
|
|
|
Mailerthis plugin allows you to configure email notifications. This is a break-out of the original core based email component. |
1.11 |
|
|
|
|
Matrix Authorization Strategy Pluginoffers matrix-based Security Authorization Strategies (Global and Per-project). |
1.1 |
|
|
|
|
Matrix Project Pluginmulti-configuration (matrix) project type. |
1.3 |
|
|
|
|
Maven Project Pluginjenkins plugin for building maven 2/3 jobs via a special project type. |
2.7.1 |
|
|
|
|
OWASP Markup Formatter pluginuses the OWASP Java HTML sanitizer to allow safe-seeming HTML Markup to being entered in project Descriptions and the like. |
1.1 |
|
|
|
|
Pam authentication Pluginadds Unix pluggable Authentication Module (PAM) support to Jenkins. |
1.1 |
|
|
|
|
SSH Credentials pluginthis plugin allows you to the store SSH Credentials in Jenkins. |
1.10 |
|
|
|
|
SSH Slaves Pluginthis plugin allows you to manage slaves running on \*nix machines over SSH. |
1.9 |
|
|
|
|
Subversion Pluginthis Plugin adds the Subversion support (via Svnkit) to Jenkins. |
1.54 |
|
|
|
|
Translation Assistance Pluginthis Plugin adds an additional dialog box on every page, which enables people to contribute l Ocalizations for the messages they is seeing in the current page. |
1.10 |
|
|
|
|
Windows slaves Pluginallows-connect to Windows machines and start slave agents on them. |
6. Because you are considering executing on a Mac, install Cygwin
7. New project start configuration steps:
1> source management: SVN updates code Engineering and resources.
2> build triggers, you can not specify the time to build your own Poll SCM H 22 * * * "build automatically at 22 points per day"
3> add batch command for Windows:
COPY%workspace%\tools\performbuild.cs%workspace%\code\assets\editor\
COPY%workspace%\tools\postprocessbuildplayer%workspace%\code\assets\editor\
RD/S/q%workspace%\build-android
MKDIR%workspace%\build-android
echo Start building Unity project to Android project ....
"C:\Program Files (x86) \unity\editor\unity"-projectpath%workspace%\code-executemethod Performbuild.commandlinebuildandroid-batchmode-quit-logfile%workspace%\build-android\log.txt
Export the Eclipse project using the command line for the U3D project. In the middle you need to set the ANDROIDSDK manually once.
4>. Shell:3 and 4 can be combined into one script
Export lang= "en_US. UTF-8 "
Export ant_root= "E:\jenkins\workspace\helptools\eclipse\plugins\org.apache.ant_1.9.2.v201404171502\bin"
Export android_sdk_root= "E:\JENKINS\WORKSPACE\HELPTOOLS\ANDROID-SDK"
Export path= $ANT _root: $ANDROID _sdk_root: $ANDROID _sdk_root/tools: $PATH
CD $WORKSPACE/build-android
MV Dandroid D
Echo Copy resource to build directory .....
Mkdir-p./d/assets/clientres
Cp-r ${workspace}/clientres/config./d/assets/clientres
Cp-r ${workspace}/clientres/assetbundles_android./d/assets/clientres
Rm-rf./d/assets/clientres/config/.svn
Rm-rf./d/assets/clientres/assetbundles_android/.svn
CP $WORKSPACE/tools/strings.xml./d/res/values
CD D
Echo Unzip android-d./d
Android update project-p./--name D
Ant Debug
Zipalign-v 4 bin/dxxx-debug.apk "Bin/dxxx 0.8.${build_number}.apk"
Jenkins build u3d Auto Release Android