build-automation

WiX 3.0 throws error 217, while being executed by continuous integration

纵然是瞬间 提交于 2019-11-29 19:48:34
This is the error that is thrown by our automated build suite on Windows 2008, while running ICEs (after migrating from WiX 2.0 to WiX 3.0): LGHT0217: Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wix.sourceforge.net/faq.html#Error217 for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support

Command line compiling an iPhone Application

跟風遠走 提交于 2019-11-29 17:43:30
问题 I would like to find a way to compile and package our iPhone application as part of our automated nightly build. At present we always have to manually kick off a build on a shared Mac that has the adhoc certificates installed on the box and then post the resulting test binaries some place where testers can pull them down and install them. Has anyone found an approach to automation that works for them? 回答1: There's a command line tool to build Xcode projects: xcodebuild 回答2: Try using

How to sort array of version number strings in VBScript?

孤街醉人 提交于 2019-11-29 17:34:12
I am using SVN and tags to label releases, with each tag directory named with the version number. This is all fine, but now I am in the process of automating this build process using Visual Build Pro. I am using svn ls to retrieve a list of tags (which of course it doesn't return in a sorted order), which I use and then put into an array using Split() to sort to find the latest one to check out and build. This is all carried out in VBScript. The trouble is that as strings, the version numbers don't sort numerically, but alphabetically. Giving you: 1.0.1 1.0.10 1.0.2 etc What I need is: 1.0.1 1

Programmatically pin a build in Teamcity

余生长醉 提交于 2019-11-29 12:48:28
问题 Is it possible to pin a build in Teamcity programmatically/automatically? I want to pin a build if a Deploy-build is successfull. 回答1: Just found out that its possible through the REST API I can f.ex send a PUT command like this http://teamcityserver:81/httpAuth/app/rest/builds/id:688/pin/ and then the build with id 688 ( teamcity.build.id ) will be pinned. 回答2: I would like to challenge the accepted answer with an up-to-date answer, which was tested with TeamCity 9 EAP 4 (build 31717) and 8

TeamCity Setting up MSTest 2012

不羁岁月 提交于 2019-11-29 09:20:37
On the TeamCity server we have installed VS 2012. I have created a build configuration in TeamCity that builds and deploys the solution. I have added a MSTest 2012 Configuration as well, but don't know how to tell it what project is the VS 2012 test project so that it can run those tests. Thanks Dejan Dakić You need to specify assembly file (dll) of your tests, not the project file (csproj). Here's an example: http://shrani.si/f/p/PH/2tO4Zo5s/tmpa4cc.jpg So let's say your Testing assembly is called Company.Tests.dll and it is located in Company.Tests/bin/Debug/Company.Tests.dll Basically, in

Easiest way to test for existence of cuda-capable GPU from cmake?

ⅰ亾dé卋堺 提交于 2019-11-29 06:47:34
问题 We have some nightly build machines that have the cuda libraries installed, but which do not have a cuda-capable GPU installed. These machines are capable of building cuda-enabled programs, but they are not capable of running these programs. In our automated nightly build process, our cmake scripts use the cmake command find_package(CUDA) to determine whether the cuda software is installed. This sets the cmake variable CUDA_FOUND on platforms that have cuda software installed. This is great

Renaming files during ANT copy

纵然是瞬间 提交于 2019-11-29 06:39:43
问题 I'd like to copy a directory of files, and rename some of them in the process. When I run the script below, nothing copies. If I comment the glob mappers in the file below, the files are copied (without the renaming) Thanks for any help. James <?xml version="1.0" ?> <project name="Create project structure" default="main"> <target name="main" description="Copy template files to project folder"> <echo>Copying template files to project folder</echo> <copy todir="${project.dir}" verbose="true"

How to organize the project tree for a C++ project using nmake?

久未见 提交于 2019-11-29 06:17:27
问题 There seems to be two major conventions for organizing project files and then many variations. Convention 1: High-level type directories, project sub-directories For example, the wxWidgets project uses this style: /solution /bin /prj1 /prj2 /include /prj1 /prj2 /lib /prj1 /prj2 /src /prj1 /prj2 /test /prj1 /prj2 Pros: If there are project dependencies, they can be managed from a single file Flat build file structure Cons: Since test has its own header and cpp files, when you generate the unit

Do you use Phing? [closed]

瘦欲@ 提交于 2019-11-29 05:22:14
问题 Does anyone use Phing to deploy PHP applications, and if so how do you use it? We currently have a hand-written "setup" script that we run whenever we deploy a new instance of our project. We just check out from SVN and run it. It sets some basic configuration variables, installs or reloads the database, and generates a v-host for the site instance. I have often thought that maybe we should be using Phing. I haven't used ant much, so I don't have a real sense of what Phing is supposed to do

TFS 2010 Custom Build Activity TF215097 error

女生的网名这么多〃 提交于 2019-11-29 03:19:00
For the Build Process in TFS 2010 I've created a library containing some custom code activities. In the past it all worked fine by adding the library (*.dll) to Source Control and setting the 'Build Controller - Version Control Path to Custom Assemblies' to the path where the library could be found in Source Control. But since a few days (and I've been updating the library often) the build doesn't succeed anymore. The error reported is: TF215097: An error occurred while initializing a build for build definition "Cannot create unknown type '{clr-namespace:BuildTasks;assembly=BuildTasks}'" After