build-automation

Visual Studio 2010 Database Builds Drop If Exists

核能气质少年 提交于 2020-01-24 09:47:07
问题 Is there any way i can change the "Alter" statements for tables and procs to "Drop if exists" when the build spits out the scripts?? Using Visual Studio 2010 Ultimate. TFS 2010. 回答1: I believe the code you are referring to is generated from a template. Look here... C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\Templates\Database Project Items and the modify these two files. New Table Script.sql New Stored Procedure Script.sql 回答2: After the procedure has been created for the

CMake or Waf for D project

江枫思渺然 提交于 2020-01-22 17:34:46
问题 We are looking for adequate build tool for a desktop GUI application to be written in D (using Qt toolkit), consisting of several native libraries, using 3rd party C-lib(s). It has to build on Linux (native development) and Mac as well on Windows. We might adopt Code::Blocks as IDE. Waf already has support for D language, while CMake is just receiving it cmaked2. CMake uses special language, while Waf is pure Python...Otoh, CMake, via CPack, can produce packages in several formats as well as

What algorithm does buildbot use to assign builders to slaves?

╄→尐↘猪︶ㄣ 提交于 2020-01-21 04:58:08
问题 I have a buildbot with some builders and two slave machines. Some of the builders can run on one slave, and some of them can run on both machines. What algorithm will buildbot use to schedule the builds? Will it notice that some builders can run on just one slave and that it should assign those that can run on both slaves to the less demanded one? (I know buildbot can be used to run the same build on multiple architectures, say Windows, Linux, etc. We are using it to distribute builds for

MSBuild to run unit tests

早过忘川 提交于 2020-01-15 05:55:07
问题 I am trying to configure CruiseControl .net to build our repository code periodically and run the tests included in the solution. I have configured the retrieving code from the svn server and building part. But I am unable to run tests on it. MSBuild keeps on complaining that. error MSB4057: The target "Test" does not exist in the project. I also tried running the tests through command line to see if that works with the same error. I used: MSBuild.exe TestProject.csproj /t:Test My

Jenkins “run only if build succeeds” still runs for unsuccessful builds

↘锁芯ラ 提交于 2020-01-13 10:08:03
问题 I'am using Jenkins for continuous integration and I have some projects having upstream and downstream build connections. I have selected Run only if build succeeds in each project's configuration. However, the post-build step is still getting triggered for unstable builds. Jenkins version is 1.480.3 . I wonder if is there anyone having a similar experience. Thanks in advance 回答1: This is an existing issue in Jenkins 1.480.3. It got resolved 1.509.1. The link of jira is as follows. https:/

Jenkins “run only if build succeeds” still runs for unsuccessful builds

百般思念 提交于 2020-01-13 10:07:11
问题 I'am using Jenkins for continuous integration and I have some projects having upstream and downstream build connections. I have selected Run only if build succeeds in each project's configuration. However, the post-build step is still getting triggered for unstable builds. Jenkins version is 1.480.3 . I wonder if is there anyone having a similar experience. Thanks in advance 回答1: This is an existing issue in Jenkins 1.480.3. It got resolved 1.509.1. The link of jira is as follows. https:/

Automating builds from subversion tags

我只是一个虾纸丫 提交于 2020-01-13 07:56:09
问题 I'm trying to automate the build process for engineering group. As part of that automation, I'm trying to get to a point where the act of applying a specific tag that adheres to a pattern will kick off an automated process that will do the following: Check out source code Create a build script from a template Build the project I'm pretty certain I could do this with a post-hook in subversion, but I'm trying to figure out a way to do this with something other than a subversion hook. Would it

Using maven2 to build autotools-based C/C++ package

本秂侑毒 提交于 2020-01-13 05:14:05
问题 I am working on a collection MATLAB, Java, and C/C++ components that all inter-operate, but have distinctly different compilation/installation steps. We currently don't compile anything for MATLAB, use maven2 for our Java build and unit tests, and use autotools for our C/C++ build and unit tests. I would like to move everything to a single build and unit test system, using maven2, but have not been able to find a plugin that will allow the C/C++ codestream to remain autotools-based and simply

Using a task runner without package.json

我是研究僧i 提交于 2020-01-07 06:44:28
问题 I'm evaluating task runners, Grunt and Gulp in particular, but there's one thing I dislike about both of them: the fact that they require a package.json file for your project. This is even though your project might not even be an npm project in the first place. In my case, I'm already using composer.json , which basically does the exact same thing. I ended up creating my package.json like this: { "name": "myproject", "version": "0.0.0", "devDependencies": { "grunt": "~0.4.5", "grunt-phpcs": "

Ant not creating tar files

﹥>﹥吖頭↗ 提交于 2020-01-06 08:48:12
问题 I have a little ant script which should create 3 tar files. <?xml version="1.0" encoding="UTF-8"?> <project basedir="." > <property name="dcc-shell.dir" value="${basedir}"/> <property name="dcc-mdp.dir" value="${dcc-shell.dir}/eq-mo-drop-copy-converter-mdp"/> <property name="mdp-code.dir" value="${dcc-mdp.dir}/src/main/*"/> <property name="dcc-srv.dir" value="${dcc-shell.dir}/eq-mo-drop-copy-converter-server"/> <property name="srv-code.dir" value="${dcc-srv.dir}/src/main/*"/> <property name=