TeamCity(msbuild)不构建项目

时间:2017-02-22 14:52:10

标签: android xamarin xamarin.android teamcity

我尝试启动TeamCity。我在本地命令行中使用MSBuild和其他构建项目管理本地Android项目,但是当我将此命令插入TeamCity步骤时,我遇到了构建问题。

我的步骤:

  1. cd / d C:\ Program Files \ Mono \ bin
  2. mono nuget.exe恢复D:\ Analytics \ mob \ mob.sln
  3. cd / d D:\ Analytics \ mob \
  4. msbuild / t:Build / p:Configuration = Release mob.sln(此步骤不在Teamcity中构建,但在命令行中构建)
  5. cd / d D:\ Analytics \ mob \ mob \ mob \ _Droid \
  6. msbuild / t:PackageForAndroid / p:Configuration = Release mob.Droid.csproj
  7. 的jarsigner -verbose -sigalg md5withRSA -digestalg SHA1 -keystore d:\ maximarkets.keystore -storepass 123456 d:\分析\怪物\暴民\ mob.Droid \ BIN \发布\ maximarkets.analytics.apk publishingdoc
  8. cd / d C:\ Users \ Admin \ AppData \ Local \ Android \ sdk \ build-tools \ 25.0.1
  9. zipalign -f -v 4 D:\ Analytics \ mob \ mob \ mob \ _Droid \ bin \ Release \ maximarkets.analytics.apk D:\ maximarkets.analytics.apk
  10. cd / d C:\ Users \ Admin \ AppData \ Local \ Android \ sdk \ tools
  11. 模拟器-avd Nexus_5_API_23
  12. mono D:\ Analytics \ mob \ packages \ NUnit.2.6.4 \ bin \ nunit-console.exe D:\ Analytics \ mob \ UI_Test_CrossPlatform \ bin \ Release \ UI_Test_CrossPlatform.dll -run =“UI_Test_CrossPlatform.Tests(Android)” - xml D:\ testresults.xml
  13. 完整日志:https://drive.google.com/open?id=0B6335YasDBf8NkMyTWFZOU5pUVk

0 个答案:

没有答案