In software engineering, continuous integration (CI) implements the continuous 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.

learn more… | top users | synonyms

1
vote
2answers
81 views

Continuous Integration and a Massive Refactor

I'm currently re-factoring a part of our application at work. I'm normalising a data structure from a flat list of fields to a parent/child relationship. This has an impact on all layers in the ...
-1
votes
0answers
26 views

GIT, Docker and CI - How to do it effectively

Here is my current workflow... Note: This is all about the workflow. I use AppVeyor as a build server but it could be Jenkins or Teamcity or whatever. I am using Azure for the Cloud but it could be ...
2
votes
1answer
113 views

In a continuous integration environment, how do teams deal with known minor bugs? [duplicate]

I'm asking as a web developer who hasn't yet used Ci. If a bug is discovered and confirmed but judged to be low priority or difficult to fix, how do teams set up Ci servers to to allow them to ...
0
votes
0answers
29 views

Automating the deployment of a web application to a shared host

I was not really sure in which SO community I should ask this question, so I am asking it here. I have a basic Angular web application, and I am ready to deploy. The app has no backend to deploy (I ...
3
votes
3answers
52 views

Shared development and CI database

I'm just about to set up CI for my web application. I'm using Bitbucket and Pipeline beta as a CI. The web application is strongly coupled to the database, nothing can be tested without data in it. ...
0
votes
0answers
27 views

continuous integration - how to write unit tests for a voip application that uses kamailio?

Can someone give me an example of what unit test might be for a kamailio / SIP based application? I understand that unit tests should test a small chunk of code without requiring the application to ...
4
votes
3answers
94 views

when should unit tests be done in a continuous integration environment

We are trying to adopt some CI practices and methodologies into our organization. I'm currently reading over some of the points in "Continuous Delivery" book written by Jez Humble and David Farley. ...
4
votes
2answers
139 views

What tools/methods/practices reconcile deployed versions of components?

We have a problem at our org where we have the need to know "with very high certainty" what specific versions of each app/web service/etc. is deployed to a given node and/or environment at any given ...
1
vote
1answer
45 views

Why store app configuration in a data file instead of code esp. when using Continuous Integration?

Consider the following CI procedure is in place: Builds are only deployed (semi-)automatically. All changes are version-controlled. Configuration is fixed per environment. Why use data files (*....
3
votes
0answers
59 views

How to manage (nightly) builds in repos for many platforms

at the moment I have one repo (git) for my project and I use branching techniques for development. This is a very new project and I wanted to get things right from the very beginning. I will create ...
5
votes
1answer
94 views

Is it confusing to not store the version number of a project in the source code?

Currently to create releases for our project, we're using Travis CI to upload binaries whenever a tag is created. We're using semantic versioning, so our tags have the form v<Major>.<Minor&...
0
votes
2answers
140 views

How to get developers to fix broken tests

In our company we have multiple test stages: unit and integration tests (CI build) application tests (all calls to other systems are mocked) system tests (interacting with other systems) all ...
13
votes
2answers
671 views

Where to push a failing test?

I just changed branch settings on my GitHub repository, so that my [next] branch requires a passing CI build through a pull request. A discussion followed with a number of team members, about failing ...
2
votes
1answer
141 views

Should Continous integration make the code deploy to an environment?

I got inspired by a similar question on the Stackoverflow.com and after reading what Martin Fowler has written (and Jez Humble, of course at http://continuousdelivery.com/), I still struggle to ...
1
vote
2answers
75 views

How short/stable should tests/build be for working CI/CD pipeline?

(Please note that this question is linked to this: How can Continuous Delivery work in practice? - but it asks a more specific question regarding time and stability). CI/CD, no manual QA, super quick ...
5
votes
2answers
220 views

Is this the wrong environment for CI?

Background Team/Project Size Currently at our company, we have a team of 3 developers. We each have our own projects that we work on. So, we never have more than one person working on a software ...
0
votes
1answer
65 views

Sequence of Integration Test in Build Process

We are developing a Web API (ASP.net, C#) project and use Bamboo CI for our continuous Integration. We run the Unit test before the deployment task so that deployment does not happen if test fails. We ...
21
votes
4answers
2k views

How can CI be used for interpreted languages?

I have never used a Continuous Integration system (CI) before. I primarily code in MATLAB, Python or PHP. Neither of these have a build step and I do not see how a CI could be used for my work. A ...
0
votes
0answers
94 views

Running unit tests for an Azure solution built by TeamCity

We have a solution containing a Web Role and Worker Role. This is built by TeamCity and deployed by Octopus Deploy to a Microsoft Azure environment. The solution contains unit test assemblies (MSTest) ...
0
votes
0answers
46 views

Continous integration of only MyCompanies nuget packages

I am trying to do a nightly package integration with one of our projects that consumes 6 other internal teams’ -PreRelease packages. Background Info We have our own internal ProGet Server that ...
1
vote
2answers
50 views

Where to store standalone.xml and other files so it is acessible in my CI server?

I am fairly new to JavaEE, so I have some concepts still missing. I am learning Docker to use it in our DEV / CI Build environments. I could make it work on my machine. But for it to work in the CI ...
83
votes
9answers
9k views

What's the point of running unit tests on a CI server?

Why would you run unit tests on a CI server? Surely, by the time something gets committed to master, a developer has already run all the unit tests before and fixed any errors that might've occurred ...
0
votes
1answer
121 views

An elegant way to store build counter [closed]

We use Git and Jenkins as our build&release system and each build is assigned a version number which looks like this: 6.0.12345. Here, the 12345 part is a counter which increments with each build. ...
2
votes
0answers
108 views

What's the best way of testing client/server programs using Bamboo?

At my company, we've standardized on Bamboo for continuous integration. One of our products is a Server + a set of clients, and we want to test many different combinations. The way we do it is to have ...
3
votes
1answer
278 views

Can I fully automate Docker deployment of a .Net CoreCLR on a CI Server without installing Visual Studio?

I'm experimenting with the deployment of ASP.Net 5 CoreCLR apps to Linux Docker containers. Literally all the articles, posts, etc. I found involve using the Visual Studio GUI. On publish a PowerShell ...
2
votes
2answers
75 views

Workflow for chains of dependent pull requests to projects that depend on other projects

Suppose you have project A and project B, where project B depends on project A - let's say A is a library. And project A and project B live in separate version control repositories - either because ...
5
votes
3answers
371 views

Does Continuous Integration imply one monolithic VCS repo?

I am part of a small team which develops several internal apps for our company. We are in a process of becoming more Agile, this especially includes lots of automated testing. Now we are in a ...
5
votes
4answers
277 views

In CI, should tests be run against src or dist?

I've had a dispute with a colleague about when to run JavaScript unit tests in a CI environment at one of two different times. Let's call the two parties PE (pro-early) and PL (pro-late). Early (...
5
votes
2answers
250 views

gitflow model with UAT releases is too chaotic, how to simplify?

At $DAYJOB, we have the following release/delivery pipeline: Get new features, work on new features. Once all features are completed, our own QA performs regressions, etc. QA signs off on first UAT ...
25
votes
7answers
4k views

Automatically reverting commits that fail the build

A colleague of mine told me that he is thinking in making our CI server to revert commits that failed the build, so the HEAD in master is always stable (as in passing the build at least). Is this a ...
17
votes
2answers
973 views

Is it good practice to store software version numbers in VCS?

A product version, such as v1.0.0.100, represents not only a unique production release of software, but helps identify feature sets and hotfix stages for said product. Right now I see two ways to ...
0
votes
0answers
39 views

Deployment keys vs. virtual users on GitHub

GitHub supports deployment keys which are attached to a repository instead of a user. Such a key can be used to read and write the repository and is intended as a mean for automatic processes (...
1
vote
1answer
130 views

Development Workflow (Git/CI) in varied tech level .NET Shop

tl;dr: I need a development workflow for ASP.NET apps that works for the designer on a Mac, the content writers who don't have visual studio, and the C#/.NET developers (mostly me), such that we can ...
1
vote
2answers
76 views

Deploy a website via apt/yum to different environments without rebuilding for each?

I want to setup a continuous integration pipeline for the first time. I have a website that includes a config file that points to MySQL and Redis. I would like to build a package once and then deploy ...
2
votes
2answers
225 views

Should unit tests run on every git branch?

I am new to repo management / continuous integration. I designed a repo in the following way PROJ |-src |-include |-lib |-config PROJ_Unit_Tests |-src |-config PROJ_Doc When I now do ...
5
votes
3answers
315 views

Is continuous integration more than just automatically testing code?

Is continuous integration about more than just automatically testing code, either periodically or after every commit to the main repository? Before today, I'd heard the term CI, and about CI services ...
3
votes
1answer
2k views

Build automation vs deploy automation vs continuous integration

I want to become more efficient and I want to use ops tools efficiently. With this in mind, I wanted to learn more about continuous integration, but it seems that there is many different things ...
15
votes
7answers
587 views

How do you scale your integration testing?

I am investigating techniques and strategies for scaling our growing number of integration tests on our current product, so that they can (humanly) remain part of our development, and CI process. At ...
-1
votes
1answer
715 views

A good workflow to start with Continuous Delivery?

My team is facing a couple of new challanges in the near future, as we will start developing a couple of (micro)services which will run in a cloud environment. Therefore we want to establish a ...
3
votes
4answers
512 views

Why does CI stipulate that we should be able to rollback to any version of a software?

I was reading the book "Continuous delivery, reliable software deployments through build, tests and deployment automation ". And the author mentions that one should be able to rollback to any version ...
0
votes
1answer
497 views

Atlassian Bamboo package from multiple repositories

We're currently developing a server/client application. The server is a maven Java EE project. The client interfaces are in HTML5. We use Stateless REST interfaces to communicate with each other. As ...
1
vote
1answer
232 views

How would a one man team benefit from a continous integration setup? [duplicate]

I am a one man team. I develop an in house database, and the web interface. My current workflow is code on my development machine. Test. Push to a central git server. Log into the production server ...
1
vote
0answers
310 views

Single branch Strategy in Agile development

Currently in our project we have trunk , release branches also hotfix brances , we are planning to maintain single branch strategy instead maintain multiple. can any one explain what are all the ...
1
vote
2answers
461 views

Why does Jenkins warn you if you tell it to check for changes every minute?

In the past when I've set up Jenkins to look for version control changes every second by using the cron format of "* * * * *" (or something like that). When you do this, it gives you a warning and ...
3
votes
1answer
113 views

Dependency promotion strategies: siloed or orchestrated?

We have a lot of apps and web services (some public facing products, some internal and part of a private "backend") that are interdependent on one another. Each one of these components has 4 ...
-1
votes
2answers
5k views

Scheduling a Jenkins job to only run integration test [closed]

My current company has a Jenkins/DotCi setup. Our current process for CI is when dev pushes to github, jenkins runs unit tests on all branches and reports back to us via email if the unit tests failed....
1
vote
2answers
109 views

Implementing Continuous Integration with a volatile hierarchy of library dependencies

Recently my company setup a build server using Bamboo and a private Nuget Feed which is populated by the successful builds being deployed from the build server. There is a hierarchy of projects under ...
0
votes
1answer
65 views

Continuous Integration for API wrappers

I'm setting up the Continuous Integration process for our API and I've split my brain trying to figure out how to connect that process with the API wrapper libs too. Here's what I want to happen: I ...
0
votes
1answer
124 views

Continuous Integration for different languages [closed]

So, I understand Continuous Integration in theory, and have used Beanstalk. However, I've been charged with creating the process at my current PHP shop. My hope was maybe PHPCI, since it looked ...
0
votes
1answer
352 views

continuous integration with Xcode [closed]

I'm looking to setup CI. I only own one Mac. I do have a copy of OS X 4.0 Server (free with my Apple Developer Program license). I currently use Git for source control. I would prefer something ...