Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [continuous-integration]

The tag has no usage guidance.

12
votes
2answers
17k views

Gitlab CI - Deploy via SSH to remote server

I have a Gitlab environment using Gitlab CI, for a new project to testify about the compiled files and copy via rsync to a production server. The machine where the build of these resources is exec is ...
10
votes
4answers
552 views

Effective way to ensure “clean slate system” for continuous integration service

We want to set up a continuous integration (CI) service for our project. That CI service should control all aspects of the project life, including deployment. That is, we want a CI agent at each ...
10
votes
6answers
4k views

What's the fastest filesystem for developer builds?

I'm putting together a Linux box that will act as a continuous integration build server; we'll mostly build Java stuff, but I think this question applies to any compiled language. What filesystem and ...
10
votes
3answers
18k views

Triggering Jenkins build for merge request from GitLab web hook

I want Jenkins (1.561) to build merge (pull) requests submitted to GitLab (6.7.5), triggered by a merge request web hook. I have a parameterised build, and the Jenkins plugins "GitLab Merge Request ...
9
votes
1answer
3k views

Tomcat Parallel Deployment, automatically undeploy old applications

I've been using Tomcat 8's Parallel Deployment as part of a zero-downtime continuous deployment setup for a while now. When the test gauntlet has been run, the CI server automatically renames the ....
7
votes
3answers
2k views

Salt State Testing via Jenkins

All, We're trying to have automated tests in our Jenkins setup to run "smoke" and "lint" type of tests in our salt state files (.sls). All google-foo so far has yielded very little information. There ...
6
votes
1answer
3k views

Gitlab-ci deployment without Docker for nodeJs applicaiton?

Is it possible to implement gitlab ci workflow without using any docker image? all the examples i see for gitlab runner are based on docker only. Even for production deployment. How can I implement ...
6
votes
1answer
32k views

Unable to access Jenkins server

I'm trying to install Jenkins on my web server, which is an Ubuntu 13.10 server running on an Amazon EC2 instance. I've restarted Jenkins using sudo /etc/init.d/jenkins restart When I check my ...
5
votes
3answers
7k views

executing RSYNC command in jenkins

I'm trying to deploy my code to a remote server. So far I've tried Publish over SSH Plugin: the problem is that I'm unable to keep file permissions Rsync command: this keeps the file permissions, ...
4
votes
2answers
3k views

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 ...
4
votes
2answers
2k views

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 ...
4
votes
1answer
2k views

MSBuild failing on build looking for older version of Microsoft.Data.Tools.Schema.Sql

After installing and configuring a build server for 2012, I tried to do an azure continuous deployment. I have TFS2012 installed. A build controller and a single agent on the server. Connecting to ...
4
votes
2answers
3k views

Optimal way to build and deploy a website as a .deb package

I've been battling with deploying (mainly PHP) websites as .deb files for some time and wonder if there's a better way than my rather convoluted method. My goal is continuous integration on my staging ...
4
votes
1answer
3k views

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 ...
4
votes
1answer
163 views

Credentials management within CI/CD environment

Setup: I have an application that I currently deploy manually on a server. It requires several credentials (client secrets of external services, tokens, and AES keys and IVs etc.) that I currently ...
4
votes
1answer
853 views

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 ...
4
votes
1answer
928 views

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 ...
3
votes
2answers
3k views

Trying to setup phpUnderControl but missing phpcb

I'm trying to setup phpUnderControl on Ubuntu 10.04 following this tutorial http://techportal.ibuildings.com/2009/03/03/getting-started-with-phpundercontrol/. I get to the part where it says to type ...
3
votes
1answer
2k views

Use Master/Slave Jenkins Server vs maintaining 3 separate servers? [closed]

Background: I'm a SW developer who has some experience configuring continuous integration solutions, but I am not very familiar with the pluses and minuses of certain continuous integration ...
3
votes
2answers
1k views

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 "...
3
votes
1answer
1k views

How do I configure a WinRM jump host for use with Ansible?

How do I configure a jump host to access Windows servers that I have no direct access to? The Ansible documentation explains how to do this for Linux but doesn't mention how to achieve something ...
3
votes
1answer
1k views

Splitting build cross the network?

Is there a known solution for splitting build process cross the network machines? Use case: We are an average software development company. We own around 50 development workstations (Quad Core 2....
3
votes
1answer
685 views

Installing Cruise Control on Windows XP

We have CruiseControl setup across various Linux boxes in our private network, and they are used to perform the various continuous integration tasks - builds, automated tests... Now I need to set up ...
3
votes
1answer
1k views

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 ...
3
votes
0answers
2k views

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 ...
2
votes
1answer
2k views

Can I authenticate to Artifactory or Nexus repositories via SSH?

We're looking for a maven repo with a better browser interface, and a question has come up about whether plaintext passwords in .m2/settings.xml can be replaced with an SSH key when using either ...
2
votes
1answer
2k views

Commit hook on github to trigger hudson build

I'm using Hudson as my CI server and I'm trying to get my commits to trigger a build. When I was using gitosis I just had a post-receive that ran a curl -u gituser:password http://my.hudson.url/...
2
votes
1answer
53 views

How to do continuous delivery with Kubernetes?

I am trying to run Kubernetes namespace setup and application deployment as part of a pipeline. Normally "apply" commands work with idempotency. Now, if I change a ConfigMap, the pods need to be ...
2
votes
1answer
217 views

Is it possible to populate an S3 bucket through a CloudFormation template?

I need to store some files for my CF template (GraphQL schema, Lambda source, etc) into an S3 bucket that will also (hopefully) be defined in the same template, as that seems to be the only way ...
2
votes
1answer
88 views

Setting temporary check_interval on Nagios service check

Does anyone know if Nagios has an option to set a temporary check_interval setting on a service check and have it revert back after a X minutes? My service check definition looks like this: define ...
2
votes
2answers
2k views

Chef cookbook continuous deployment

I'm trying to integrate my chef workflow to my usual continuous integration/deployment workflows. I managed already to have a jenkins task which checks out the git repo and runs foodcritic but i can'...
2
votes
1answer
1k views

Any web interface to show deployments history with mcollective?

I'm using mcollective & puppet for deployments. I would like to know if there is any user interface which allows me to choose a specific package/version and deploy and any user interface i can ...
2
votes
2answers
174 views

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 ...
2
votes
0answers
142 views

How to continous build versioned Docker images

I have a PHP project on GitHub for which I would like to build versioned Docker images. Kinda like CoreOS Container Linux does with their alpha, beta and stable release channels. For development I ...
2
votes
1answer
600 views

How to launch multiple AWS EC2 machines on Jenkins?

I am using the EC2 plugin in Jenkins (https://wiki.jenkins-ci.org/display/JENKINS/Amazon+EC2+Plugin) for using AWS services. As of now, a job which uses this cloud label spins up a single EC2 ...
2
votes
2answers
409 views

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 ...
2
votes
1answer
1k views

How can I get Azure to use an SSH key when doing a node.js deploy via git?

I'm deploying a node.js app to Azure Web Services using git from my local machine via: git push azure master One of our npm packages is a private repo hosted on BitBucket. Without Azure having an SSH ...
2
votes
1answer
2k views

How to transparently cache git clone?

I would like to offer a continuous integration service (I'm planning to use hudson, but the solution should work for others as well) with a web interface where a user will define a SCM URL (e.g. a git ...
2
votes
0answers
717 views

Migrate latest stable HUDSON to latest stable LTS JENKINS

I am having issues migrating a HUDSON server with several jobs to JENKINS Jenkins claim you can upgrade easily from hudson but also mention it is only for version 1.395 or less (https://wiki.jenkins-...
2
votes
0answers
1k views

Access Denied error when running xcopy in jenkins on windows 2008 r2

I have installed Jenkins on a Windows Server 2008 R2 and in the build script i use xcopy to copy the generated war file to a specific folder The problem I am having is that every so often the build ...
2
votes
1answer
174 views

Code-First Database Creation During TFS 2010 CI Build

I would like to automate code-first database generation during the automated CI build of a web project in Team Foundation Server 2010. When run locally the tests create a code-first database ...
2
votes
3answers
2k views

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 ...
2
votes
1answer
968 views

How to configure CruiseControl.Net for Windows Authentication?

I am using CruiseControl.Net for continuous integration which is now accessing the dashboard through login plugin, which in turn is authenticating and authorizing after verifying it with a set of ...
2
votes
1answer
930 views

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 ...
1
vote
2answers
2k views

Automating Jenkins module install

Is there any way to automate the install of modules within Jenkins? I'm trying to script/automate the install of my CI box as much as possible. I have just about everything working but at the moment ...
1
vote
2answers
643 views

GitLab runner runs first two commands and says “build succeeded”

I'm using GitLab's "CI Multi-Runner", which I have installed on Windows 2012 R2 instance. Builds start correctly and begin to run, but the build is marked as complete before it even runs my entire ...
1
vote
1answer
104 views

Docker Stack Deploy Does Not Work

i am trying to deploy a stack to my docker swarm but it does not work. i call the command sudo docker stack deploy -c docker-compose.yml server-test but it gives me the error unsupported Compose ...
1
vote
2answers
453 views

Gitlab runner in docker with docker executor

I want to run Gitlab CI Runner in a docker container while also using the docker executor to run my builds in their own docker containers, all of that on top of CoreOS. Is this even possible? Every ...
1
vote
1answer
60 views

Can the Docker FROM version include variables?

I suspect the answer to this question is no as the FROM command comes first in the file (before any ENV statements), but can you parameterize the version of the base image that a docker container is ...
1
vote
1answer
54 views

Is it possible to set up environment variables to be imported into every docker container

In a CI environment, I want to pass credentials for reaching authenticating to our internal Gems server into docker containers being started within CI jobs. I would like to be able to configure the ...