build-automation

GruntJs 'grunt' cmd opens Visual Studio?

╄→尐↘猪︶ㄣ 提交于 2019-12-09 16:24:12
问题 I have been able to use GruntJs on several personal projects with zero problems. I decided I would use it on my project at work. I run: grunt init:gruntfile and that creates the gruntfile and the package.json file just fine. The problem is that whenever I run any grunt cmd grunt or grunt lint etc it immediately opens up Visual Studio and opens the gruntfile. Nothing actually happens. Any idea what I am doing wrong? 回答1: I didnt read the FAQ... https://github.com/gruntjs/grunt/wiki/Frequently

How can I add Jenkins slave nodes via the CLI?

[亡魂溺海] 提交于 2019-12-09 15:46:52
问题 As per the title, in Jenkins how can I add new slave nodes to my build cluster using the CLI, or if there is not a CLI option, is there another scriptable approche that can be used? 回答1: Many people use the Swarm Plugin to eliminate the need to actually add slaves manually. You would need to script the install of the swarm agent of course, but that should be pretty straight forward. 回答2: Basic CLI instruction can be found here. The following CLI command should get the new node configuration

Timeout on a Build Step of Jenkins

ぃ、小莉子 提交于 2019-12-09 07:28:34
问题 In Jenkins, is there a way to give different timeouts to each or selected build step? Build-time plugin out gives functionality of timeout "Abort the build if it's stuck" on complete project, what I need is to give different timeouts for each step. This way I can make my process more efficient. 回答1: As of current versions of Jenkins, this can be done. Hit 'Configure', then select the 'Build Environment' tab, and then set your timeout. Here's an screenshot: 回答2: In pipeline jobs you can wrap

How to send key events to a headless emulator in an instrumentation test?

末鹿安然 提交于 2019-12-09 05:42:31
问题 We are currently working on an instrumentation test suite which runs on our build server, but while the tests pass on a dev machine using a normal Android emulator, the builds fail on the build server since there we only run a headless emulator with the -no-window flag. The failure occurs when trying to invoke the InstrumentationTestCase.sendKeys() method to programmatically open the options menu. The error is: Permission denied: injecting key event from pid 646 uid 10026 to window Window

Blackberry Build Tool

情到浓时终转凉″ 提交于 2019-12-08 13:37:38
问题 Could anyone suggest the best Build Tools for use in the build process when building a blackberry application. Is it just the creation of an ANT project, does that cope with signing etc? Is there a better tool out there? I'd prefer a lightweight Windows solution. I normally use Automated Build Studio -- it can build ANT and it can also compile Java. 回答1: I don't know of any serious alternative to bb-ant-tools. 来源: https://stackoverflow.com/questions/3986739/blackberry-build-tool

TFS: cannot set up new build

你。 提交于 2019-12-08 08:43:00
问题 I have set up TFS Build Service on one machine in the network. Now I want to create a build. When logging to Team Explorer (under my personal TFS account) I see a Build subfolder in my project folder. However there is a small red cross icon alt text http://s001.radikal.ru/i195/1001/fa/8196d29e4f9b.jpg Does it have to do with my account rights? I belong to Contributors group. How can I create a new build? MSDN says To create a new build type 1. In Team Explorer, select the project for which

using the output of paste() as an object, within a for loop in R

允我心安 提交于 2019-12-08 04:50:49
问题 I want to construct a matrix of results for 48 GLMs (including model coefficients, R2, etc.). I though in calling the model objects by using a for loop which iteratively call them using paste() and mget() functions, which create a variable with the same name that the model object. Imagine these are the model objects: var1_ds1_1<-glm(var1~var_ds1) var1_ds2_1<-glm(var1~var_ds2) var1_ds3_1<-glm(var1~var_ds3) My problem arise when I create a name to call the object using paste() and mget() to

TFS 2012 automatically build projects that depend on current one

醉酒当歌 提交于 2019-12-08 01:40:55
问题 Ok so I have to admit, I'm very new to all of this build automation stuff. But basically what I'm wondering is if there is a way to wire up my build definitions in such a way that if I have a case like so ProjectA produces ComponentA.dll ProjectB references ComponentA.dll and produces ComponentB.dll ProjectC references ComponentB.dll then when I make changes to ProjectA and check them in, the build process would automatically also build ProjectB, and finally ProjectC, and report any errors.

Using SWIG with a build system [closed]

江枫思渺然 提交于 2019-12-07 20:42:59
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . Anyone have experience with using SWIG (the interface generator)? I have a C project which I would like to expose to a bunch of other languages/frameworks, like Python, Java, .NET, Perl, PHP, Ruby. I would like

Building a set of specific projects in TFS

独自空忆成欢 提交于 2019-12-07 13:08:57
问题 Does anybody know how can I configure TFS Build to build a set of projects in a solution instead? The solution I have, has 16 projects but for one of my build definitions I want some of them to be compiled. 回答1: The easiest way in my opinion is to create a new solution file. There is nothing stopping you from having several solutions that reference the same projects (or some subset). The other way is to create a new configuration. In Solution Explorer, rightclick the root node ->