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.
4
votes
3answers
113 views
Differentiate between snapshots and official releases, while deploying exactly what has been tested
Suppose the following situation:
A CI server generated regular snapshot artifacts
At some point, an artifact is considered "stable" and is given to QA for testing
If it passes, it's deployed as an ...
5
votes
3answers
107 views
Is it mandatory to run integration tests when deploying feature branches to QA machines
In our organaziton to make the testing process a QA can start the QA process by deploying a feature branch to a QA machine. My question is that while doing so should the build process include running ...
0
votes
2answers
76 views
Migration from SVN to Git. Multiple depedant projects for Continous Integration
I'm in charge of switching our 10+ years old code base from SVN to Git. Currently we have one single monolithic repository containing all of our projects. We have shared libraries and multiple ...
0
votes
3answers
117 views
Is there evidence to suggest that email notifications of build-breakage from a ci-server are industry standard?
In my organisation people regularly have 3K+ emails in their inbox. They're swamped and non-important email is ignored and lost. (Think big Corporation). Email ceases to be a useful medium in this ...
1
vote
1answer
42 views
One shared account for running CI infrastructure?
Should I set up a shared account in our CI infrastructure to make it easier to use?
My team uses CI infrastructure. When a developer first sets up a build he must enter his source control credentials ...
3
votes
0answers
51 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
63 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.
...
17
votes
8answers
755 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 ...
8
votes
3answers
359 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
208 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
110 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 ...
8
votes
2answers
44 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
117 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
60 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
142 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
97 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
23 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
38 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
126 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
103 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
67 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
102 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
54 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
55 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
64 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
109 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
120 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
48 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
82 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
68 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
175 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
161 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
58 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
71 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
119 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
160 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
688 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
2answers
234 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
95 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
245 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
133 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
58 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
65 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
150 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
166 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
410 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
104 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 ...
6
votes
3answers
459 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 ...