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
33
votes
0 answers

Microsoft.Windows.UI.Xaml.CSharp.targets missing on CI server

Problem I just committed the addition of a UWP application to source control. However, my CI server (Jenkins) didn't seem to like that: error MSB4019: The imported project "C:\Program Files …
Taylor Buchanan
  • 4,155
  • 1
  • 28
  • 40
33
votes
4 answers

hudson+git FATAL: Could not apply tag

I'm trying to set up hudson with git according to this article, but I still get git errors during build: FATAL: Could not apply tag-PROJECTNAME-ID ... Caused by: hudson.plugins.git.GitException: Command returned status code 128: *** Please tell me…
takeshin
  • 49,108
  • 32
  • 120
  • 164
33
votes
4 answers

Gradle Task To Call Other Tasks In Order

I'm making a task in gradle that needs to call a number of other tasks. Here's what I have: task ci(dependsOn: [ clean, build, test ]) What is strange is the output I see: gradle ci :compileJava :processResources…
dev
  • 2,949
  • 5
  • 37
  • 48
32
votes
2 answers

pnpm equivalent command for npm ci

What is the equivalent command for npm ci in pnpm? According to the documentation for npm install: pnpm install is used to install all dependencies for a project. In a CI environment, installation fails if a lockfile is present but needs an…
BuZZ-dEE
  • 6,075
  • 12
  • 66
  • 96
32
votes
2 answers

Disadvantages of a gated check-in in TFS

I've always worked with the Continuous Integration (CI) build in TFS. However, in my last project we started to use the gated check-in trigger. Are there any disadvantages when using a gated check-in? Because if it prevents the team from checking in…
Danilo Ruziska
  • 457
  • 2
  • 6
  • 13
32
votes
6 answers

What toolchains exist for Continuous Integration with C++?

Continuous Integration toolchains for .NET, Java, and other languages are relatively well defined, but the C++ market seems to have a lot of diversity. By CI "toolchain" I specifically mean tools for the build scripts, automated testing, coding…
Joe Schneider
  • 9,179
  • 7
  • 42
  • 59
32
votes
5 answers

Are DVCS like Git inappropriate for teams using continuous integration?

My team's development processes are based on continuous integration. The only branches we create are maintenance branches when we release, but otherwise developers are expected to commit regularly (daily if not more often) to trunk, so that…
Kief
  • 4,383
  • 4
  • 26
  • 21
31
votes
3 answers

What are the Team City best practices for multistage deployment?

We have 3 environments: Development: Team City deploys here for Subversion commits on trunk. Staging: User acceptance is done here, on builds that are release candidates. Production: When UAT passed, the passing code set is deployed here. We're…
JustinP8
  • 1,353
  • 1
  • 14
  • 33
31
votes
5 answers

Github Actions - No Such File or Directory on Any Run Step

I am trying to test out Github Actions for a small web project. I have two projects in the repository, and I want to create a deployment script for only the web client. The repository looks like this: root | |-src | |-API | | | …
jlat96
  • 491
  • 1
  • 5
  • 10
31
votes
5 answers

Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one -22938

Problem While I'm trying to send my application via Fastlane I face with this error: Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com…
MGY
  • 7,245
  • 5
  • 41
  • 74
31
votes
2 answers

What are the differences between GitHub Actions and other CI tools like Jenkins?

GitHub announced an upcoming feature, GitHub Actions. I'm positive on the benefits of CI tools like Jenkins for automatic building or testing, which GitHub Actions is aimed to be used for in the future. Having a repository on GitHub and using an…
Bennett Dams
  • 6,463
  • 5
  • 25
  • 45
31
votes
4 answers

Travis CI Android Tests: no connected devices

I am trying to set up Travis for Android. Running the build seems to work so far, but when it comes to the tests, it complains about "No connected devices!" :app:connectedAndroidTestDebug FAILED FAILURE: Build failed with an exception. * What went…
Terry
  • 14,529
  • 13
  • 63
  • 88
31
votes
5 answers

How to update code from Git to a Docker container

I have a Docker file trying to deploy Django code to a container FROM ubuntu:latest MAINTAINER { myname } #RUN echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -sc) main universe" >> /etc/apt/sou$ RUN apt-get update RUN…
Cheruiyot Felix
  • 1,557
  • 5
  • 26
  • 42
31
votes
12 answers

Continuous Integration System for Delphi

Are there any CI-Systems for Delphi like Hudson for Java? Does Hudson has any Delphi integrations?
Ludwig Wensauer
  • 1,885
  • 3
  • 32
  • 43
31
votes
2 answers

Full list of /P MSDeploy arguments for MSBuild from TeamCity

I currently use the MSBuild runner in TeamCity for continuous integration on my local server and this works very well. However, I'm having trouble finding a full list of supported command line switches for MSDeploy in the format that TeamCity…
Kaine
  • 1,285
  • 2
  • 16
  • 30