Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Build server Windows Server 2012

  • os2indbekit-bui.Miracle.local
  • 10.7.4.241
  • Login: ad bruger 

 

Using the E drive for storing.

 

The required installation files is located in the "Downloads" folder under "mobile-ci" folder. If it needs to be done again in the feature, we can look at them og see what is required.

The path for Jenkins is: E:\mobile-ci\Jenkins

The path for Autobuild folder: E:\mobile-co\config\autobuild

 

 

Local Windows 7 machine placed in Aalborg:

...

Windows Phone 8.0 SDK can't be installed on Windows 7 - but should be able to be installed on Windows Server 2012 

  • You can install Windows Phone SDK 8.0 on computers running Windows Server 2012 or Windows Server 2008 R2 to use Visual Studio Team Foundation Build to build existing apps. However, you cannot develop or debug Windows Phone apps on Windows Server editions, even with the Windows Phone SDK installed. (Source: https://msdn.microsoft.com/en-us/library/windows/apps/ff928362(v=vs.105).aspx)


For building on Jenkins with MSBuild: http://marcofranssen.nl/ci-with-jenkins-msbuild-nuget-and-git-part-4/

Setup master and slave Jenkins: https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines

 

Required for building

  • Windows Phone 8.0 SDK
  • Portable Library Tools 2 - Install with command "portablelibrarytools.exe /buildmachine"
  • Windows Software Development Kit for Windows 8 - https://dev.windows.com/en-us/downloads/windows-8-sdk
  • For Windows Server 2012 you need .net framework v3.5
  • nuget
  • pscp
  • git


Restore NuGet from packages.config file in project dir

  •  Command: nuget.exe install packages.config

 

Jenkins build script located in the autobuild repo on gitlab - jenkins_build_wp.bat

  •  The path to the build.config file needs to be changed to a folder in building project - Right now we are using a dummy

To do list:

  • Setup Windows Build server
  • Make current build server master and new build server slave
  • Build project local on build server
  • Build project on jenkins from slave


Helpful links