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
2 answers

Configuring multiple mercurial repositories in Jenkins

We use about 30 repos to handle all of our software at our company. Our code is mixed between C#, C++ and python. We were originally going to use TeamCity for our CI server, and I found that extremely easy to setup with the way our repo system is…
6
votes
6 answers

Setting up a diverse database testing environment

I'm writing some code that needs to work against an array of different database products. MySql Sql Server 2000 to 2008 PostgreSQL Oracle 9i & 10g Jet 4.0 (MS Access) MSDE Sybase Adaptive Server Anywhere Sybase Sql Anywhere Progress OpenEdge We…
6
votes
1 answer

Running heroku rake db:migrate from a Jenkins build fails

In my Jenkins build, the last step is to push to heroku and run a db migration. The git push works fine, and the app gets deployed, but I'm having trouble running a db migration. Below is the console output from Jenkins. + heroku run rake db:migrate…
deadwards
  • 1,531
  • 11
  • 18
6
votes
3 answers

Compile Android project in Continuous Integration System Hudson?

I'm setting up a Continuous Integrations System with Hudson and it's just amazing. I got a SVN repository and integrated a post-commit hook that notifies Hudson when someone commits to the repository. This part is working splendid. The general idea…
Finn Larsen
  • 2,201
  • 17
  • 26
6
votes
4 answers

Using the bittorrent protocol to distribute nightly and CI builds

This questions continues from what I learnt from my question yesterday titled using git to distribute nightly builds. In the answers to the above questions it was clear that git would not suit my needs and was encouraged to re-examine using…
Dennis
  • 20,275
  • 4
  • 64
  • 80
6
votes
2 answers

Automated database deployments with user generated content (a la CMSes)

My team has been getting more and more into CMSes over the past couple years. We have also been getting more and more into continuous integration. Reconciling the two has proven to be difficult. To make it even worse, we do LAMP and .NET sites so…
6
votes
4 answers

How to do Cucumber Android integration testing?

I'm trying to set up continuous integration with an Android project and Cucumber. The idea is to write tests in Cucumber and run the tests on my Android build via Cuke4Duke and NativeDriver for Android. When I have this running, I plan to use Maven…
Svante
  • 1,069
  • 3
  • 12
  • 28
6
votes
4 answers

How to build a git polling build bot?

How can a little cron, bash + make based script (e.g. much smaller and less robust than, for example, Hudson) build-bot poll a git repo and detect if it should build now - e.g. if in its periodic pull from the remote git repo, it has retrieved new…
grrussel
  • 7,209
  • 8
  • 51
  • 71
6
votes
0 answers

How can I set Xcode performance test baselines on a CI server?

Xcode performance tests written with the XCTest.measure() API pass or fail depending on the "baseline" performance which must be set manually in Xcode and stored in ProjectName.xcodeproj/xcshareddata/xcbaselines/. As of Xcode 13.2.1 these baselines…
MattL
  • 1,132
  • 10
  • 23
6
votes
1 answer

Command failed with exit code 134: npm run generate

I'm trying to deploy my nuxt js project to netlify. The installation part works fine, But it returns an error in the build process. I tried to search google but I can't find any solution to this problem. I also tried this command CI= npm run…
Hasibur Rahman
  • 641
  • 2
  • 7
  • 18
6
votes
3 answers

How to save Terraform output variable into a Github Action’s environment variable

My project uses Terraform for setting up the infrastructure and Github Actions for CI/CD. After running terraform apply I would like to save the value of a Terraform output variable as Github Action environment variable to be later used by the…
6
votes
3 answers

How to build DocC documentation from CLI

So I have been browsing the web for a while now and can't seem to find an answer on how to build the native DocC Xcode documentation using a CLI command. Both the xcodebuild commands and Fastlane do not provide a command to build the documentation -…
colin
  • 761
  • 1
  • 11
  • 24
6
votes
1 answer

npm ERR! git@github.com: Permission denied (publickey). in GitHub Action

This is the issue that I am facing when running the command npm ci in my GitHub action file. Run npm ci npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/------ npm ERR! npm ERR! Warning: Permanently added…
sakshya73
  • 5,570
  • 5
  • 22
  • 41
6
votes
1 answer

Visual Studio required to run MSTest test on Team City Build Server?

We are setting up a Team City build server. On previous VS 2008 projects a full version of Visual Studio has been installed on the build server. We are now starting a VS 2010 project. Is it possible to run MSTest tests on the Team City build server…
6
votes
1 answer

What is best practice in Gitlab CI/CD for setup of a Python virtual environment

Problem Right now I am writing a .gitlab-ci.yml for a Python project hosted on Gitlab. I do not really know where to put the setup of a virtual environment and the installation of requirements from the requirements.txt. My primary resource is the…
LuGeNat
  • 179
  • 1
  • 2
  • 13