简体   繁体   English

詹金斯与Cocos2d-X项目

[英]Jenkins with a Cocos2d-X project

I have just recently moved into developing Cocos2d-X application for Android devices, from native Android application development. 我最近刚从原生Android应用程序开发转向为Android设备开发Cocos2d-X应用程序。 I am looking to configure my Cocos2d-X C++/JAVA project in a JENKINS environment. 我正在寻找在JENKINS环境中配置Cocos2d-X C ++ / JAVA项目的方法。

Has anyone any experience of using JENKINS with cocos2d-X projects ? 有没有人与cocos2d-X项目一起使用JENKINS的经验? Any tips on where i can get started ? 关于我可以开始的任何提示?

您可以使用cutom scrip选项,例如,如果您使用cocos2d-x模型进行构建,则可以使用自定义命令“ make”来构建项目,此外,还可以使用静态代码检查,bla,bla,... I也将我的机器用作从属服务器,而不将构建环境放置在服务器中。

Yes. 是。 It depends upon the build tool you are using. 这取决于您使用的构建工具。 I am using Ant with Eclipse. 我在Eclipse中使用Ant。 Try to read about building an Android Project from Command Line Using ant or gradle. 尝试阅读有关使用ant或gradle从命令行构建Android项目的信息。 and there you go,Include "Build Step"-> "Execute shell" in jenkins. 然后,在jenkins中包括“构建步骤”->“执行外壳”。 You have to manually check for all dependencies. 您必须手动检查所有依赖项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM