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.
1
vote
0answers
63 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
109 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 ...
2
votes
1answer
28 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
200 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 ...
1
vote
2answers
57 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
55 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
85 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
132 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 ...
5
votes
1answer
127 views
What are the advantages of continuous deployment? [closed]
Continuous deployment require a lot of effort, beyond what is needed for continuous integration.
Since every change corresponds to a release (more or less), there is far less time and resources ...
4
votes
1answer
121 views
When deploying code to a production server, how are non-source code assets such as images and PDFs managed?
Currently, I am trying to set up deployment procedures and GIT for a group of websites. Code and assets are between 15 and 20GB. The code and related text files are probably closer to 150MB.
When ...
3
votes
2answers
135 views
Tracking internal builds versus public builds
At our office, we use JIRA to track issues reported by our QA teams. We also have Bamboo which builds each time we commit to our Git (Stash) repository. QA picks a build from Bamboo and they work with ...
-1
votes
1answer
115 views
Cross-platform CI builds [closed]
Does any Continuous Integration system out there offer building a project on several operating systems at the same time? Like, building the code on Windows, Linux, *BSD and OSX per commit? I ...
24
votes
7answers
2k views
Is it a good practice to run unit tests in version control hooks?
From the technical point of view it is possible to add some pre/post push hooks which will run unit tests before allowing some specific commit to be merged to remote default branch.
My question is - ...
3
votes
4answers
275 views
Convincing my boss that touching the Database is integration testing [closed]
I am currently working on introducing continuous integration and switching to git, and as part of that, we must also better structure our tests.
We have agreed on splitting the tests in "integration" ...
10
votes
4answers
1k views
How to use github, branches and automatic releases for version management? [closed]
I understand most of the basic Git/Github concepts by now, however I still have trouble understanding the bigger picture.
These are some things that I have managed to get working so far:
Push ...
1
vote
2answers
99 views
Client / Server dependencies with Continuous Integration
I'm starting to use continuous integration for one of my projects and had some questions about structure and architecture.
It's basically a multi-device webservice that is split into one server ...
1
vote
1answer
301 views
Tomcat + Spring + CI workflow [closed]
We're starting our very first project with Spring and java web stack. This project will be mainly about rewriting quite large ERP/CRM from Zend Framework to Java. Important factor in my question is ...
5
votes
2answers
813 views
Why is build.number an “abuse” of semantic versioning?
I was explaining a proposed build system (Gradle/Artifactory/Jenkins/Chef) to one of our senior architects, and he made a comment to me that I sort of disagree with, but am not experienced enough to ...
5
votes
1answer
70 views
Coping with build order requirements in automated builds
I have three Scala packages being built as separate sbt projects in separate repos with a dependency graph like this:
M---->D
^ ^
| |
+--+--+
^
|
S
S is a service. ...
0
votes
2answers
1k views
Is Chef an appropriate tool to use for application deployment? [closed]
We use Chef for both config management (making sure a "DB Node" has the right version of the right DB on it; that an "App Server" has the right version of Java and env vars on it, etc.). as well as ...
3
votes
1answer
223 views
Building software with version numbers
This is not a question about how to number versions.
We have an application with a certain version numbering scheme. We also have a Jenkins CI server (soon to be replaced with Atlassian's Bamboo) ...
1
vote
4answers
147 views
Track performance numbers
I have a (large) software project in a git repository. There is a benchmark suite that spits out lots of numbers (time per benchmark, allocations done per benchmark) I’d like to track.
What is the ...
1
vote
2answers
1k views
Can XCode work with TFS?
We have been using Team Foundation Server (TFS) for source code management of our solution which contains components for a number of platforms - asp.net, windows & android so far. We now wish to ...
6
votes
2answers
214 views
Continuous integration policy problems
Currently our model, with respect to SVN and automated build, looks like
Which, as far as I know, wasn't the way SVN was meant to be used. But the process works okay from a technical standpoint. ...
1
vote
2answers
77 views
Is there such a thing as API documentation management?
So I started thinking, what is the best practice for publishing generated documentation (e.g. Doxygen, NaturalDocs, etc.) in terms of infrastructure?
I would be generating it through continuous ...
4
votes
1answer
195 views
Continuous Integration using Docker
One of the main advantages of Docker is the isolated environment it brings, and I want to leverage that advantage in my continuous integration workflow.
A "normal" CI workflow goes something like ...
5
votes
1answer
117 views
Where do the responsibilities of build tools end and those of CI tools start? [duplicate]
In the delivery of software, and within the sense of the deployment pipeline, where do the responsibilities of build tools, like Maven, end, and the responsibilities of CI start?
As a rough example ...
1
vote
0answers
52 views
How to use Subversion in conjunction with DTAP with several Scrum teams?
I've read How Do You Pull Something from a Release?, but it doesn't solve our problems, as our case is more complex.
Our situation is as follows. We're developing an application for an internal ...
0
votes
2answers
142 views
Continuous Integration / Deployment: Test on commit, pull request, or what?
I read about CI/CD, loved it, but I'm having trouble with the details as everything I read was high level.
Some authors seemed to suggest that there couldn't be any failing commits on the repository ...
2
votes
0answers
429 views
Creating an automated test framework for UI smoke testing
I am doing my thesis on the subject of automated UI testing at a company that applies continuous integration to their projects. The company builds intranets in Microsoft SharePoint 2013 and my task is ...
2
votes
2answers
139 views
Enforcing coding standards: What are the trade-offs of different methods?
Our team has recently agreed on some very light coding standards, and that we need a means of enforcing them. We already have a mature Continuous Integration practice including frequent, small ...
2
votes
1answer
156 views
How to break up Yocto layers for continuous integration?
We are building embedded software using a Linux setup based on the Yocto project. We have a couple different configurations that we are building for different purposes (but the same target).
I have ...
1
vote
2answers
1k views
CI runner on same server of GitLab?
I'm setting up a GitLab server in my company and now I'm adding GitLab CI to it.
Before start this task I'd like to understand if there are any disadvantages running my runners on the same server ...
1
vote
1answer
113 views
Making applications build system-aware
Build systems for web applications are great: they give dependency management, code minification, and the ability to use tech like SASS or CoffeeScript that require pre-processing.
However, I find ...
-2
votes
1answer
55 views
Managing deployment scripts in the process of continuous delivery
My question concerns deployment scripts in the process of continuous delivery.
Continuous delivery recommends that deployment scripts should be versioned into SCM just as normal code.
What is the ...
-1
votes
2answers
174 views
Should developers “own” the build server(s)? [closed]
The build server at our company sucks. The build agents (there are a dozen of them, each is a separate VM, and apparently they are all living on their own ESX server) are SLOW. The web interface is ...
1
vote
2answers
972 views
What is the benefit of Continuous Integration over make?
We are evaluating and setting up Continuous Integration for our PHP project. Each of the Continuous Integration tools has their own proprietary "build language" which will run many commands and check ...
3
votes
2answers
162 views
Should performance tests be instrumented by build tools?
Should performance tests be instrumented by build tools as part of the build process, or should they live completely outside? If outside, then where in the deployment pipeline should they live?
I ...
0
votes
3answers
202 views
Automated GUI tests take too long because of doing same steps before the “main test action” can proceed
We are developing a desktop application and I am responsible for GUI testing. Currently we have around 500 tests which take 8 hours to complete.
The tests are testing almost every button/menu/field ...
1
vote
1answer
148 views
Trying to understand what Travis CI does and when it should be used
I am very new to Git and I am planning to contribute to some open-source project on GitHub after discovering a small error in it. Upon forking it and fixing the error, I purposed a pull request and I ...
4
votes
0answers
82 views
Continous Deployment and database format changes [duplicate]
My current automated workflow looks like this:
I commit changes
I push changes
Build (actually just a lot of tests using mock database) is triggered
If all tests pass, the new code is deployed to ...
2
votes
3answers
366 views
C++ project organization to reduce unit testing build time
I want to organize tests for a project large enough that build time matters (especially for the CI server).
Say I have this code that I would like to test :
//foo/greet.cpp
#include <stdio.h>
...
0
votes
0answers
62 views
Scheduled website testing: Searching for a lightweight, simple solution
Scheduled website testing: Searching for a simple solution.
One of my clients is having some tens of sites, with webform-based landing pages. He wants to daily test 3 different use-cases pre site, in ...
1
vote
4answers
347 views
What's the point of Continuous Integration services like Travis CI?
As far as I can tell, services like Travis CI and CircleCI take your project and run its test suite whenever you push a new change to your repository.
Assuming that it's also possible to either ...
5
votes
3answers
483 views
How to properly deprecate methods in Java?
Today I lost a method that I was using since my co-worker redefined it to take its superclass instead. So after synchronizing with the repository I had trouble. Would it had been better in this case ...
0
votes
1answer
258 views
Are “Compile to JavaScript” Frameworks Hostile to Continuous Integration?
Lately we've been looking at ways to improve automated testing and related tooling of our enterprise-level GWT web app. I've realized that in some ways, GWT is a bit hostile to automated testing, ...
1
vote
3answers
271 views
How do I set up pairing email addresses?
Our team uses the Ruby gem hitch to manage pairing. You set it up with a group email address (e.g. [email protected]) and then tell it who is pairing:
$ hitch james tiffany
Hitch then sets your Git ...
5
votes
2answers
416 views
Looking for a very subtle unit testing example [closed]
In the context of Continuous Integration, I need to teach unit testing to a 20-people audience of programmers.
Everything will be all right, but I am still trying to find the perfect unit testing ...
3
votes
1answer
252 views
Continuous integration and modifying existing UI automation tests
Our team is currently facing a situation where we are changing a feature that is in the product today. This feature has Selenium automation tests associated with it.
We are performing a fairly major ...
12
votes
4answers
848 views
How do I learn the right approach to implement half a feature?
I lead a development team and I want to release our product as often as possible (Continuous Delivery).
In many cases, we have to implement a feature that takes longer to implement than the time ...