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]

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.

0
votes
1answer
11 views

How to deploy Node app via Jenkins to Ubuntu(18.04)?

I'm a very beginner in Jenkins and afraid that I ask you something not clear with a weird question. I'd like to deploy my simple node app server to Ubuntu via Jenkins. I tried to write a command in ...
0
votes
0answers
16 views

In Azure Devops, is it possible to pass an argument that is variable on the source environment?

I am trying to create a Task Group that can be used interchangeably between Build and Release pipelines. However, I am having an issue passing one of the arguments to my Powershell Task Group. The ...
0
votes
0answers
13 views

TeamCity HTTP Request in the context of Kotlin DSL

Is it possible to do an http get request inside the settings.kts file used to implement your TeamCity configuration with Kotlin ? If it is possible, how is it achievable ? If it is not, what are ...
0
votes
0answers
7 views

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 ...
1
vote
0answers
74 views

Jenkins Shared lib not working properly

Recently I tried to add Shared Libraries to my Jenkins instance to make it easier to maintain all code that runs in each project. I have a repo myorg/jenkins Inside of it I have Jenkinsfile and ...
0
votes
4answers
68 views

How is Continuous Integration different from using git to integrate external code?

I have a conceptual doubt about CI using Jenkins. I know Jenkins can help me to integrate all code built by developers. So the question is: How is this not already resolved with Github (or any other ...
0
votes
2answers
40 views

How to avoid build scripts duplication

Let's say you've got several code repositories on GitHub. You want to build, test and deploy them. You picked a continuous integration service (e.g. Travis CI, AppVeyor or something else) and wrote ...
1
vote
0answers
13 views

How to use shared runner (dind) for build stage and runner with shell executor on my server for deploy stage?

I want to do the build of my image on a shared runner and build it on gitlab registry. then I want to pull that image, on my server using the runner on my server using shell executor. but I face a ...
2
votes
3answers
87 views

What are the best practices of merging dev to master?

We have 2 branches (master/dev) + some feature branches and 2 environments (production/dev). Our team is a very small people. What are the best practices of merging dev to master? Every morning? ...
5
votes
2answers
73 views

How should CI/CD deploy to production environment - copy artifacts or git pull from the server?

We have an internal CI/CD server running private GitLab. It has the source code of our NodeJS project. We would like to run CI/CD and have it deploys to our on-premises production server. (Let's ...
1
vote
0answers
9 views

How can I test native macOS UI software in a container before deployment?

As part of the CI setup, I'd like to run (automated) tests on native macOS GUI software in a 'safe environment' (i.e. without messing with the host software installation too much). Virtual machines (...
0
votes
2answers
45 views

What is the cheapest way to get CI for a Qt project?

To build up my portfolio I'm writing an application to showcase all the best practices I'm aware of, including unit tests and continuous integration. The project was originally started in C++, and I ...
0
votes
0answers
7 views

Build an iPhone app created with React Native

Is a Mac mandatory to build an iPhone app written in React Native? If no, what are alternative ways? (like a container?!) If yes, is there a backward compatibility matrix how old can a Mac be to ...
0
votes
1answer
31 views

Maintaining Jenkins configuration with docker

I'm trying to configure CI with Jenkins for my private project. Problem: whenever I start building a pipeline project, it gives me ,,Docker is not found'' error whenever I try to work around this by ...
0
votes
0answers
23 views

Azure Pipelines with Bitbucket “unresolved user”

I'm using Azure Pipelines to build a Node.JS project hosted in Bitbucket. I've enabled continuous integration and everything works fine, except for the fact that Azure doesn't recognise the Bitbucket ...
1
vote
2answers
32 views

How to deploy a ZIP or WAR equivalent (built locally via npm)?

I use NPM to build my web project, and it does so nicely to a little ZIP file. Keeps everything nice and light, and I can easily keep bloat down. My current process is to use an FTP client (Win SCP), ...
0
votes
0answers
13 views

Exclude sub .vcxproj from .sln when using Azure pipelines CI tool

Following is my azure-pipelines.yml. It's a generic one for Visual Studio (Windows) project that triggers on master and trying to build the main .sln file. The problem is that I have three sub ....
0
votes
1answer
35 views

Deploy to GKE from CI server outside of cluster

I'm setting up our CI (Jenkins pipeline) to deploy apps to a GKE cluster. Our Jenkins sever is running external to GKE or any Google Cloud infrastructure. I'm thinking of using a docker image with ...
1
vote
0answers
49 views

Read webhook payload in Gitlab CI

I have a project (PROJECT_A) that is triggered through a webhook, and expects the variable $PRODUCT to be set. Its value is used to trigger a certain path in the build. The job in the .gitlab-ci.yml ...
2
votes
1answer
59 views

How to deal with untested features in the develop branch before deployment?

Our current software deployment lifecycle looks like this (using git-flow); We test locally or on a development environment. We submit a pull-request to merge the feature into the develop branch Our ...
0
votes
2answers
31 views

In Azure Devops and TFS, is it possible to create a build artifact and release definition in a different collection than the original code repository?

I have code repo held in Collection 1 and, using this code repo, I am trying to create a Build artifact and Release definition in a different Collection 2. Is this even possible?
8
votes
3answers
74 views

Should developer wait for CI pipeline to complete or start next task after pushing

My company is integrating CI/CD, so far we have implemented CI from what I understand. Currently when a developer pushes code to our git repo, the CI pipeline runs. Currently our CI pipeline include ...
0
votes
2answers
59 views

Automate creation of branch + pull-request

I have a repository (call it repo-X) of shell.nix files that define development environments for a number of separate projects (call them project-A, project-B). When one of the projects releases a ...
0
votes
0answers
15 views

Splunk indexing

How is Splunk able to create unique indexes for every data even though there can be many indexers in the scenario. I suppose that Splunk use that indexes after for faster search time so those indexes ...
0
votes
1answer
15 views

One time database update process as part of applying a patch

I have a PostgreSQL database that requires a server side script to be executed (client prefers php) to: Perform some intelligent data modifications to records that will be identified only during the ...
0
votes
1answer
28 views

GitHub merge access

I am trying to create a GitHub workflow (not GitHub flow), where specific people will have merge only access to a branch in repo. I tried a few things, and I found that I can restrict users to read ...
0
votes
1answer
270 views

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

Jenkins | How to trim (or preferably customise) the console output content that is sent as email content post execution of a build?

I have configured email notification on my jenkins build which triggers email post every build to recipients with the console output content as the email content. Currently it looks something like ...
1
vote
2answers
47 views

Tools used in enterprise level to transfer build artifacts from CI server to live server

I recently learnt some basic devops and set my server on Digitalocean droplet with travis CI. As there is no travis deploy provider supports for Digitalocean, I have to write my own deploy script. ...
1
vote
0answers
31 views

How to integrate CI with federated AWS IAM roles?

Imagine a multi tenant environment using a CI (e.g. GitLab but can be any other) and AWS as a backend for test infrastructure. With fixed users, it is easy: save credentials as secrets. But what if ...
0
votes
0answers
25 views

azure blob storage host spa/ code change without downtime

I would like to setup my CI/CD workflow to deploy to azure storage. I can do this easily: az storage blob upload-batch --source out/build --destination $container_name --account-key $...
1
vote
2answers
27 views

Can a 5 US $ VPSE support VAD stack with 2 relatively-small CMSs?

I'm new to DevOps and quite troubled financially but I desire to put websites that I now host on a shared server environment (CetnOS 12.x.x) on some cloud like DigitalOcean or Lindoe (but without ...
0
votes
0answers
21 views

Retaining temporary job side containers with GitLab runner

If you run a specific GitLab runner (i.e. a CI build agent) as a Docker container, it would spawn temporary side containers and remove them after job exits. Is there a way to tell the runner to ...
-1
votes
1answer
30 views

VAD (Vagrant-Ansible-Docker) stack for Ubuntu and Apache

I'm having trouble establishing a Ubuntu-LAMP environment with continuous integration - I feel lost from the different solutions out there and time and again I fear that my vanilla-Bash Ubuntu-LAMP ...
0
votes
1answer
42 views

Push specific changes (defect fix) and not feature changes

I am new to DevOps. I am using Jenkins and GitHub for salesforce deployment. Setup We have a develop branch. Feature branches are created out of it. When merged to develop, the deployment to the ...
1
vote
0answers
22 views

How to manage Pull request or branch environment databases?

As an organisation we are (finally) moving to a good CI/CD setup. We use Github for development and now have a nice CI setup where we auto deploy specific tags to different environments. Now I want ...
2
votes
1answer
20 views

Dynamically change config files in c# Application based on environments(dev,QA,Prod) through Bamboo

I have a windows service written in .net c#. We have three different environments say dev, test and prod. I also have 3 different config files for 3 environments say devAppConfig , TestAppConfig and ...
0
votes
2answers
41 views

Change variable inside of project. Jenkins, docker, kubernetes

Because I am new in the DevOps, I don't know where I need to apply the changes to correctly run the project. The structure: Git → Jenkins → Docker build -> Kubernetes (deploy) Is it better to make ...
0
votes
0answers
10 views

Mocking CloudStack API

Is it anyhow possible to have a mock interface for the Apache Cloud Stack API? For example, in this bug report for Python Cloud Stack client I test an SSH key upload to CloudStack; a mock could help ...
0
votes
2answers
112 views

Fully enabled End to End CI/CD Solution

I've been working in the field of DevOps for some time now and have learned about some tools like Jenkins, Docker, Kubernetes, Puppet, Artifactory, etc.. Although I know where each of these tools ...
0
votes
0answers
213 views

Angular Environments and Build Once - Deploy Anywhere

What is your approach to building and deploying Angular applications? If you would to follow the Angular guidelines you will need to define multiple environment.{Env_Name}.ts files which will be ...
0
votes
0answers
73 views

Universal CICD Pipeline?

I have multiple Node.js projects in Gitlab. They all use the same exact CI/CD pipeline. Therefore, I have X number of the same exact .gitlab-ci files. That being said, is there a way to get rid of ...
-1
votes
1answer
340 views

Jenkins executes Selenium test in headless mode while use `Jenkins as Service`

I have recently installed the Jenkins on Windows 10 Machine (Jenkins as Service) and configured one Maven Project (Selenium project which open chrome browser and executes some testcase). If i build ...
0
votes
0answers
24 views

How to FTP Directly from 3rdPartyHostingServer to ClountStack like GitLab, GitHub, AWS,etc?

I am working on a Web App. I am facing an issue with DevOps environment and looking for a solution for the same. My local machine is Win10 machine. I have my code on a 3rdParty Hosting Server(e.g ...
3
votes
1answer
58 views

When to get rid of '-SNAPSHOT'

I'm working on a Git workflow (not git-flow) for a Java project that uses Maven and Artifactory for artifact storage. On develop and feature/* branches the version number contains '-SNAPSHOT'. It is ...
1
vote
1answer
101 views

Jenkins slave not able to find dotnet

When I check for dotnet version it is throwing an error D:\jenkins\workspace\csharp-windows-test>dotnet --version 17:58:06 System.ArgumentNullException: Value cannot be null. 17:58:06 Parameter ...
-1
votes
1answer
116 views

CD (Continuous Deployment) best practices for managing configuration [duplicate]

My CD pipeline: Get docker image (created and pushed during CI stage) Copy docker-compose .yml template to target server Run the app Let's go straight to the 3rd point. I can run the app using ...
0
votes
0answers
20 views

Jenkins Custom Configxml

I'm building a custom Jenkins docker images , so I need some custom configuration at config.xml of Jenkins master . For example ; <docker-registry-url> <url>https://registry....
2
votes
1answer
552 views

obtaining token to register a gitlab runner

I have a gitlab repository. I want to add a runner to it. I was able to install it,with the instruction here without docker (step 3). Now I have to register it according to the instructions here. In ...
3
votes
1answer
1k views

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger ...