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.
2
votes
0answers
7 views
Managing release configurations when using TFS Build
The organisation I work for currently uses web deploy to release to different environments. Configuration of web applications (connection strings, service url's, and so on) is managed using solution ...
4
votes
1answer
37 views
Using private NuGet repository and Jenkins to handle dependencies
I am experimenting with using a private NuGet repository and jenkins to deal with dependencies.
Let's say we have exe A and libraries B,C and D.
Exe A depends on library B which depends on C and D.
...
16
votes
8answers
626 views
Keep branches from piling up
We're beginning to run into a problem as we get bigger, where features make it to staging for testing, but by the time everything is tested and approved new features are on staging for test.
This is ...
7
votes
3answers
303 views
package and version strategies in a multi repository environment
We are a small-ish firm with multiple teams who manage their own git repositories. This is a web platform and each team's artifacts are deployed at the end of the day for nightly tests. We are trying ...
3
votes
5answers
130 views
GitFlow branching strategy, but without the develop branch
I am thinking about adopting something like the GitFlow branching strategy. Instead of using a permanent develop branch, I would like to create a release branch for each sprint (from master) at the ...
7
votes
1answer
91 views
In a CI/CD environment, how is database “data” verified and tested?
We are trying to improve our continuous integration pipeline and moreover improve how quickly we can get code through from inception to production.
We have tests at different levels that verify what ...
7
votes
2answers
18 views
How to test configuration changes in a service?
What is the best approach to testing a service when you add a new configuration?
For example my service offers a service to a customer and based on the customer configuration, it will offer a ...
5
votes
2answers
105 views
continuous integration impact on ticket sizing
I've been doing research on CI (continuous integration) and I can't find any info on the changes CI would introduce to ticket sizing.
CI states developers should merge to the mainline every day (or ...
5
votes
1answer
49 views
Best strategy for creating/updating CI build database
I was wondering what the best practice is regarding databases for integration tests on the build server. If there is a best practice.
Currently, our build will create a new database from scratch for ...
4
votes
3answers
128 views
How to do Continuous Integration when separate development branches have different production deployment dates?
Let's say you have three development branches going at once (dev 1, dev 2, dev 3), each branch working on different features for a given software product.
If I understand continuous integration ...
0
votes
1answer
77 views
Build on each commit - Continuous delivery
Just watched a video about continous delivery and there it was suggested to trigger a build and execute unit test on each commit.
For our team of 10 developers and a build time of at least 10 minues I ...
1
vote
0answers
19 views
Structure to store resources in SCM repository
I have 3 artifacts for my application as below.
One Jar file
sql scripts
Templates
I need to bundle all 3 as part of a snapshot bamboo build that uploads them into a repository. Is there any known ...
0
votes
0answers
31 views
Preventing bad commits Travis CI
A while back, I had a jenkins build where if branches started with submit_*, jenkins would detect them, pull them down, merge into master, build them. If it failed, it notified the email list and did ...
4
votes
1answer
111 views
Where do I run my integration tests
We currently have 4 environments for a project (local/dev, test, acceptance, production). We created some integration tests which want to run. The big question we now have is where to run them?
Run ...
-1
votes
1answer
62 views
Ideas to improve our development and deployment process?
In the interest of continuous improvement I'm interested in finding ways to improve our software development process. There are a lot of articles out there which define a set of workflows, but all of ...
0
votes
0answers
58 views
How does Jenkins Pretested Integration Plugin handle conflicts?
To be sure that all code is tested before it gets to master, you can set up system, for example with Jenkins Pretested Integration Plugin, that works like this: You push code to a special integration ...
1
vote
0answers
68 views
How to version NuGet packages in CI world
I am trying to implement CI for one of my projects that generates a NuGet package which is published to our private NuGet repository. Obviously, for dependent applications to see the new packages as ...
0
votes
1answer
28 views
How to define the .deb-packages name to reflect the git branch
Our team develops application. As this application intended to run on Debian we've done it in a proper Debian way - via .deb packages. If it's important, app is written in C++/Python and code is ...
1
vote
0answers
52 views
writing unit tests for 3rd party applications
Does anyone have any comments on how to write unit tests for 3rd party applications like kamailio...that allow you to write "configuration scripts"?
https://www.kamailio.org/wiki/cookbooks/4.0.x/core/...
0
votes
1answer
55 views
Run web browser programmatically
As part of my continuous integration server, I am running a bunch of performance profiling. If the performance profiling tests don't crash and pass a threshold then it declares them successful. I then ...
1
vote
2answers
98 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 ...
2
votes
1answer
116 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
45 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
70 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
57 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 ...
5
votes
3answers
154 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
149 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
57 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
67 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
110 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
150 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
682 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
208 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
84 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
243 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
108 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
141 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
51 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
59 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 ...
84
votes
9answers
10k 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
143 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
147 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
380 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
94 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
428 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
312 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
369 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 ...
29
votes
8answers
6k 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
1k 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 ...