Questions tagged [continuous-integration]

Continuous-Integration (CI) is the process of merging developer's working code copies to a shared codebase frequently to prevent or minimize integration problems. For questions about a specific CI system like [Jenkins] or [Travis-CI] use those tags instead.

Continuous-Integration (CI) is the process of merging developer's working code copies to a shared codebase frequently and test it to prevent or quickly identify and resolve integration problems. The idea is that developers write and commit small pieces of code and check several times a day if their code alterations break existing functionality.

There are many (server) systems that facilitate continuous integration and the work they do is often also called continuous integration. This usually includes (but is not limited to) code compilation and executing unit and integration tests. Some often-used CI software includes:

A comparison of CI software can be found on Wikipedia.

Continuous-integration is generally seen as a first step to achieve and , in what's commonly known as pipelines.

Usage

Use this tag for questions about continuous integration in general. For questions about specific CI software, it's best to use the tag for that system (if one exists).

252 questions
57
votes
1 answer

Is there a [ci skip] option in GitLab CI?

I'm debugging the use of a report creator. I forgot a line and would like to edit the code without triggering the build pipeline. I know that it's possible to write [ci skip] in the commit pipeline to pass the pipeline execution in Jenkins CI, but…
avazula
  • 959
  • 2
  • 7
  • 15
44
votes
7 answers

What's the difference between DevOps and Automation?

I see that whenever someone does DevOps, it's mostly about automating things like deployment etc. But where does automation end and DevOps begin?
33
votes
5 answers

How to tag source code using gitlabCI

We got gitlab new to our environment and trying to create some CI CD pipelines using gitlab CI. I have got some better progress with running some maven goals, creating pipelines and archiving artifacts using my .gitlab-ci.yml as below. I tried to…
pandey
  • 949
  • 2
  • 9
  • 18
32
votes
4 answers

How to properly scale Jenkins?

In my project we have one AWS server running Jenkins Master + 1 Jenkins slave (2 executors)... and we need more In order to augment our build power we have three options: Scale up: Make AWS instance bigger and add more executors. Scale up: Make AWS…
Oscar Foley
  • 535
  • 1
  • 5
  • 10
26
votes
5 answers

How does continuous integration relate to continuous delivery / deployment?

Here is a quote from the current content of continuous-integration: ... process of merging developer's working code copies to a shared codebase frequently to prevent or minimize integration problems. OK, I get that. But then there is also…
23
votes
5 answers

How to avoid continuous integration-caused instabilities in test environments?

Assume you're using continuous integration processes which frequently update some target environments, so that every time there are some changes "you" can test your changes right away. That's part of the goals of CI, no? But, also assume that you…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
21
votes
3 answers

Is it possible to have multiple gitlab-ci files in a single repo?

I have a single repo handling integration tests for 4 different software projects. As those projects share common resources, I'd like to create a generic file in which all those common features are set properly for preparing the CI/CD job. The…
avazula
  • 959
  • 2
  • 7
  • 15
15
votes
3 answers

Simple CI/CD Containers in AWS

I am using AWS Code Pipeline, Code Build to create a new Docker container and push it to ECR. My application is a simple straight-forward single-container based. What would be less friction approach to pull down current running Container and…
15
votes
2 answers

How can I keep track of my Cloud Resource use?

I am trying to automate my AWS application deployment with Jenkins. Right now if we want to update the application in any of the environments, say UAT, we build our docker images, find the current ECS Task and update it with the new image, find the…
Chris
  • 315
  • 2
  • 8
15
votes
3 answers

What are best practices for docker tag versioning?

I've recently hooked our CI servers up to build docker images upon git commit. We have about 8 different containers that get built, each with their own language / frameworks. Some are node and have a package.json, others are python services that…
Jack Murphy
  • 333
  • 2
  • 7
15
votes
4 answers

How to transition from a complex branching reality to a single-branch model?

In large organisations, using the waterfall methodology typically results in very complex branching structures (aka branch spagetti). What branching strategies can be used to transition from a complex branching reality to a single-branch model like…
Dan Cornilescu
  • 6,780
  • 2
  • 21
  • 45
14
votes
2 answers

Multi-language Monorepo

We currently have a "front-end" git repository that is all of our JavaScript client apps, and a "back-end" git repository containing all back end APIs written in .NET Core. There is also a few other random repositories built on differing…
user210757
  • 243
  • 1
  • 2
  • 5
14
votes
2 answers

What is "Push on Green"?

Within Google and other DevOps organisations, they talk about "Push on Green" which I am lead to believe is the practice of continuous delivery based upon a successful run of automated tests, and presumably deployments to pre-live environments. What…
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
13
votes
2 answers

Continuous Integration infrastructure for multiple iOS projects

As a iOS developer, I was looking to create a CI and CCQ (= Continuous Code Quality) infrastructure for the iOS projects we have in development so far. We already use Jenkins and SonarQube for almost all the Web and Android projects (using a VM…
Dan Bodnar
  • 231
  • 1
  • 3
11
votes
3 answers

What are the main differences between Jenkins and TeamCity if one is used to working with Jenkins?

These tools seem to share very similar characteristics. How complicated would it be to start using TeamCity after getting used to working on Jenkins? Are there specific concepts one needs to be aware of?
1
2 3
16 17