Continuous integration (CI) is the software engineering practice of integrating code continuously and frequently rather than wait for changes to accumulate causing code conflicts to accumulate. Usually these changes are verified automatically using build and test processes.
Questions tagged [continuous-integration]
136 questions
4
votes
2 answers
Deploying as service account (using `gcloud app deploy`) gives “API [appengine.googleapis.com] not enabled on project [%id%].”
I am struggling to make automated deployment using a service account work. First I created a new service account and now I am using a default %my-project-name%@appspot.gserviceaccount.com because presumably App Engine instances run under this…

Evgeny
- 41
- 3
4
votes
1 answer
Upgrading PHP and installing libraries in non-interactive mode
Problem
I m trying to install php 5.5 and php5-memcached for my machine which has php 5.3 pre-installed. Also, I can not change default configuration as it is staging box provided for CI.So let's assume php 5.3 is pre-installed and that can not be…

Alma Do
- 181
- 8
4
votes
1 answer
Continuous Integration testing of RPM upgrades
We release software on RPM-based linux. We receive many packages from different teams, some outside of our business unit, that must upgrade correctly (in the future we want to check dependencies are correct). Recently we were bitten by a bug in…

AlexB
- 91
- 1
- 3
4
votes
1 answer
GitlabHQ + Gitlab-CI: customizing build logic
We are using GitlabHQ and Gitlab-CI in our infrastructure. Having such continuous integration set we are willing to customize the build logic in CI.
Right now on new commit GitlabHQ triggers a hook to CI, which tells gitlab-ci-runner to run a build…

Valentine Gostev
- 41
- 1
4
votes
2 answers
TeamCity: 'git fetch' command failed. stderr: Socket Closed
We have been working for years with TeamCity and for several weeks with git as version control system.
I have set up integration with TeamCity and that has been working fine.
We have four different projects that use git
Recently some of the projects…

Klas Mellbourn
- 357
- 1
- 5
- 10
4
votes
1 answer
Bundle install on build in TeamCity
I'm trying to run a build in TeamCity. The application that i'm trying to build for unit tests is coded in Ruby on Rails.
I configured the VCS root to get from my repository, after cloning the build fails. Here it is:
Bundler::GemNotFound: Could…

Mr_LinDowsMac
- 295
- 1
- 10
- 21
4
votes
3 answers
Why is Jenkins not pulling in a browser?
I installed Jenkins on my debian server. It is set on port 8080 and when I try connecting to it nothing happens. I know it is running because when I do:
root@jini01:/etc/default# /etc/init.d/jenkins restart
I get this back.
[ ok ] Restarting…

Strong Like Bull
- 273
- 6
- 17
4
votes
2 answers
Execute build task in Hudson with root privilages
I have a build script which executes apt-get and therefore requires root privileges. What is the best way to run this script in Hudson?
Currently the only solution I have found that works is to add an entry to the sudoers file for the user hudson…

jensendarren
- 383
- 2
- 12
4
votes
0 answers
Setup 2FA/MFA on Jenkins
I'm trying to find how to setup 2FA/MFA on users who login to Jenkins, with Google Authenticator.
Everything I'm finding is about logins to servers/git/etc, but not for the actual USERS in Jenkins.
Does anyone know how to do this?

Nuno
- 553
- 2
- 8
- 26
3
votes
1 answer
CircleCI cannot specify region to deploy to in GKE
I have been tying to update a deployment in a GKE cluster using CircleCI. I was able to make container build and upload to GCR work just fine.
But I could not find a way to specify the GCP region when authenticating using the command such as gcloud…

Lester
- 597
- 4
- 16
3
votes
2 answers
Set up database for integration testing with Jenkins in Docker
Background:
I was following Downloading and running Jenkins in Docker to setup Jenkins Server. Used following parameter to run Docker.
docker run \
-u root \
--rm \
-d \
-p 8080:8080 \
-p 50000:50000 \
-v…

Shihe Zhang
- 143
- 1
- 7
3
votes
5 answers
How to reset Jenkins to its factory settings?
I have installed Jenkins on my Red Hat server following this tutorial. But by mistake I skipped the default plugins part.
I tried deleting /var/lib/jenkins/config.xml but this file getting created again and again.
How can I get back to the initial…

Raja Anbazhagan
- 133
- 1
- 1
- 8
3
votes
2 answers
Is there an equivalent for docker testing something like tox for Python?
tox allows you to test your code against different versions of Python. Is there something out there similar to tox that allows me to test my deployment code against different version of a distribution say like centos 7, 6.8, 6.5 etc ?

Low Kian Seong
- 341
- 2
- 3
- 10
3
votes
2 answers
Jenkins build watch for new branches and build named branch
I'd like to configure a single Jenkins build ("job") which will both:
watch for new branches and build them when they appear
build a named branch or commit on request
I can achieve (1) by setting "Branches to build" to "**"
I can achieve (2) by…

Rich
- 704
- 14
- 30
3
votes
0 answers
Jenkins and Exchange Server Integration
I am interested in integrating Microsoft Exchange server and Jenkins for email notification. Instead of using SMTP approach, I want to use Exchange server webservices (Administration policies allow connection to exchange server via webservices…

CuriousMind
- 131
- 1
- 3