Questions tagged [continuous-integration]

Continuous integration (CI) is the building and automated testing of the full software product on a frequent schedule: at least once a day, often several times a day and sometimes as often as after every check in to the version control system.

Concept

Continuous integration is an important part of an agile software development process. Integration is an important step to detect quality issues, so if it is done frequently, problems will be detected earlier and fewer at a time. Hence, continuous integration can help to reduce the overall cost of the process. Although continuous integration could be automated with simple scripting, it is generally more advantageous to use tools built for this purpose, especially for complex projects with many modular parts.

Tools

One of the first tools to become popular for this purpose was CruiseControl. Now there are many such products, both open source and proprietary.

References

Martin Fowler has a good writeup of what it all means in Continuous Integration.

13768 questions
6
votes
1 answer

Sonar Maven plugin - fail the build on violation

Is there a way to configure Sonar or the Sonar Maven plugin to make a build fail when a violation of a certain priority (Blocker, Critical) is detected?
Axel Fontaine
  • 34,542
  • 16
  • 106
  • 137
6
votes
2 answers

GitLab-CI job fail when having a dependency on a previous manual job

Situation Consider the following .gitlab-ci.yml example: build: stage: build script: echo "Building..." build-doc: stage: build when: manual script: - echo "Building doc..." - echo "build result" > output.txt …
cid
  • 696
  • 1
  • 8
  • 19
6
votes
1 answer

VSTS - Continuous Delivery - Release Trigger not working with tags

UPDATE 2017/02/28 The tags in the release triggers are not source control tags, they are tags that can be generated by your build step. You can tag your builds automatically (see below), or manually during a build, I haven't tried this yet. My…
6
votes
3 answers

Differences between CruiseControl (original) and CruiseControl.NET

Are there any differences between the original CruiseControl and the .NET port? I've compared the 2, but can't find any big differences except the language it has been developed in. I want to use either one of them for (automated) testing of web…
6
votes
1 answer

Circle CI Automated for Android Project could not build the APK file and not installed into the device

I am a newbie for making the build process automated in Android app development. For the sake of learning recently start to use Circle CI server in our project. Now directly jump onto the problem see below: I try to understand the .yml file that…
Bhavdip Sagar
  • 1,951
  • 15
  • 27
6
votes
2 answers

Teamcity property for current logged in user

I want to pass the teamcity username of the current logged in user to a build script called from teamcity, is there a property that has this? I didn't see one when I looked. It can't be a user specified property because I want it to be tied to their…
jtruelove
  • 3,306
  • 3
  • 25
  • 29
6
votes
1 answer

Pipeline multiple jenkins jobs

I am very new to Jenkins. There are multiple jobs already configured in Jenkins, As of now we are running all the jobs manually one after the other. I want to make it a single job by pipeline plugin, So that manual effort is reduced. I had gone…
6
votes
3 answers

Unable to Add Azure DB Firewall Rule to Allow Build Server to Run Tests

We use a Visual Studio Online-hosted build server to automate our build process. As part of this I'm looking into adding unit and integration tests into this process. These tests require access to our SQL Azure DBs (2 of them, both on the same…
6
votes
4 answers

Trigger Visual Studio Team Services build for a GitHub Pull Request

How do you get VSTS to build when a PR is created in GitHub? I've tried several triggers in the VSTS build like refs/pull/*/merge and refs/pull/*/head. I have a build working when a commit is made to the master branch, but I can't get a build to…
viperguynaz
  • 12,044
  • 4
  • 30
  • 41
6
votes
2 answers

Invoke `cdb.exe` (windbg) to run noninteractively, and produce backtrace in case of crash?

I have a C++ project which I use with travis-ci. Right now, I build it using boost.build, and on travis, when I run the unit tests, I do it through gdb, so that I get a backtrace in the event of a crash. To make gdb do this noninteractively, I…
Chris Beck
  • 15,614
  • 4
  • 51
  • 87
6
votes
2 answers

How to get passed and fail test case count in xunit using cake(c# make) script

I try to use the cake script for running the test cases written in Xunit using the cake script , I need to know the number of passed and failed test cases count. #tool "nuget:?package=xunit.runner.console" var testAssemblies =…
Venkat
  • 2,549
  • 2
  • 28
  • 61
6
votes
0 answers

Build Pipeline for CI / CD with Jenkins, Stash and Artifactory

I'm not sure if I can provide enough information over here in my first question, but I gonna try: At my company we use Stash. My project is a multi-repository project (Client, Server, Common). We use Gitflow as branching model. The modules itself…
6
votes
1 answer

Jenkins - CI with Virtual Machines

At the moment, I have my framework code written in Java/Maven and I want to run this code using Selenium grid and Jenkins. I've configured Jenkins to pull the latest code from the SVN and have setup Jenkins to act as the hub. What I'm wondering is…
6
votes
1 answer

Continuous integration/deployment/delivery on Google App Engine, too risky?

We have recently setted up continuous integration/deployment/delivery of a nodejs webapp on Google App Engine. The CI server (GitLabCI) runs dependencies installation, build, tests and deployment to integration/prod depending on the branch…
6
votes
3 answers

Separate Building from Deployment with Hudson

We have started using Hudson, and the current workflow is: checkout locally > code > run tests > update > run tests > commit Rather that polling, Hudson simply sits there until we instantiate a build. It then: checkout locally > run Phing…
xzyfer
  • 13,937
  • 5
  • 35
  • 46
1 2 3
99
100