Questions tagged [build-pipeline]

General build pipeline questions. This includes, but is not exclusive to Jenkinsfile pipelines. See jenkins-pipeline for platform specific questions.

Filter by
Sorted by
Tagged with
1 vote
0 answers
28 views

Is the forking git workflow used outside of open source projects?

Here is the Forking workflow if you're not familiar with it. The company I work for is mostly comprised of historically open source developers. This has caused them to be stuck on the forking workflow ...
user avatar
0 votes
0 answers
6 views

Module bundler for frontend only

Can I use a module bundler for an existing apache/mysql/php backend app (running in docker)? I am adding React components just here and there in some pages. Currently I am using Babel (not a bundler) ...
user avatar
  • 101
0 votes
0 answers
262 views

VSBuild Task in Pipeline ignores msbuildArgs

Since updating to C# 10 I also had to update the Azure DevOps pipeline to use pool: vmImage: 'windows-2022' Now it complains about ##[error]C:\Program Files\dotnet\sdk\6.0.200\Sdks\Microsoft.NET....
user avatar
  • 101
0 votes
0 answers
17 views

How can I separate code build from container build for MRs?

I'd really like to optimize our CI builds. Currently every time I push a code change to an MR our gitlab runners a 20-to-40 minute job to build our docker image which is ~8 GB. My understanding is ...
user avatar
0 votes
0 answers
15 views

Storing the path of changed items in a variable for gitlab CICD

We have a repo with a structure as below (simplified): Root |- vars | |- hostNameX | |- hostVarsForAnsible |- ... We want our pipeline to trigger only when changes are made within /vars/* (...
user avatar
  • 153
0 votes
0 answers
28 views

Automating fetch from a public Github repo to a local Azure DevOps git repo using pipelines

Just wondering how I would go about to solve this scenario. We have a public Github repository which we need to be able to maintain a copy of in our private Azure DevOps repository. This a task we ...
user avatar
0 votes
2 answers
62 views

Recommended starting guide on CICD

I'm new to the community, and I looked around a bit but didn't find a good point to start from. I have a specific problem I want to solve, but while trying to think of a solution I realized I need a ...
user avatar
1 vote
1 answer
22 views

Best practice to update (migrate) e.g. users on database server on several clusters

we have multiple clusters - like 6 - and of course, as a dev makes changes to an application and it is deployed it will migrate the table data and so on by flyway/liquibase. But what if there is the ...
user avatar
0 votes
1 answer
61 views

GitLab variable false but job is running

I'm triggering job via API, passing custom variables. Here is example request: curl -X POST -F token=${TRIGGER_TOKEN} -F ref=${branch} -F "variables[SHOULD_COPY_ASSETS]=false" This how job ...
user avatar
0 votes
1 answer
116 views

YAML based azure build pipeline to run particular tasks based on condition?

Need to create a YAML based azure build pipeline i.e, need to run particular tasks like only build step when it is PR automated and when the same pipeline manually run it should run build task along ...
user avatar
1 vote
0 answers
25 views

How to add a Git repo as an artifact to a build pipeline?

Coming off of the comments (and recommendations) from this question, I'm trying to add a repo as an artifact to a build pipeline. Apparently it's possible for a release pipeline, but I'm not finding ...
user avatar
  • 111
1 vote
1 answer
132 views

Modularizing CI/CD pipelines in Jenkins or in other tools?

I have the following case: There are a couple of repositories (well, two-digit number). Each of them has some sort of (declarative) Jenkins pipeline - it would be one of three types: run tests -> ...
user avatar
  • 123
1 vote
0 answers
13 views

HSM into cloud for windows authenticode signing - Cost benefits vs Security risks?

Our product has 4 apps (Windows, macOS, iOS & Android) with a partially combined build pipeline. 90% is run in the cloud (Android, iOS & macOS are built entirely on cloud infrastructure) but ...
user avatar
2 votes
1 answer
251 views

Why do companies use JFrog Artifactory or other repositories instead of Maven central repository?

I have usually seen that when someone uses Maven on a company network to download dependencies, then user is redirected to the JFrog Artifactory or any other, instead of downloading dependencies from ...
user avatar
2 votes
1 answer
99 views

Should I struggle for minimalistic context in GitLab CI jobs?

I'm designing a build & deploy pipeline for our project. We have two jobs: build -- builds a docker image with our app and pushes it to a container registry. deploy -- communicates with an ...
user avatar
  • 123
1 vote
1 answer
331 views

How to skip Build without creating Drop and not triggering Release in Azure DevOps

Currently we have a build pipeline which checks if there is a PR for the current branch and if yes it sets a variable and skips the other build steps. But when this happens the Release still completes ...
user avatar
  • 111
0 votes
2 answers
84 views

Is local / staging / production still industry standard?

I've inherited a project that uses local / staging / production. It is a simple project that lets users create a login and download customized PDF documents. We keep the document templates and the per-...
user avatar
  • 101
1 vote
1 answer
375 views

What part of the Bamboo pipeline should generate a Docker image?

We are using Bamboo to build and deploy a number of Java web applications. Right now, the Build Plans generally produce a WAR file, which is deployed by the Deploy Plans. We are moving our hosting (...
user avatar
  • 11
2 votes
1 answer
107 views

How does one build a build pipeline with versioned build artifacts?

I'm not sure quite how to phrase this question. I'd like to learn either by answer here or sharing a reference to read from: How do I build a pipeline with versioned build artifact? I've inherited an ...
user avatar
1 vote
1 answer
158 views

CI/CD pipeline with manual advancement?

I am currently learning about CI/CD pipelines for DevOps. I have some practice implementing them in some basic scenarios, but I've recently encountered a slightly more complex scenario and I'm not ...
user avatar
  • 111
3 votes
1 answer
85 views

It is not allowed to use stages more than once [Jenkins_Declarative_Pipeline]

I am completely new to the jenkins pipeline. I'm trying to create a project with multiple stages but in my Import stage , I want to execute parallel. For each stage in parallel , I have again multiple ...
user avatar
2 votes
1 answer
308 views

How to setup priorities between pipelines that might be triggered simultaneously on Azure DevOps pipelines

I am using Azure devOps to build and deploy my application, and within that application I have a project that is being used by other related applications (let's call it project N). Thus I decided to ...
user avatar
  • 123
4 votes
1 answer
802 views

Is GitLab flow (or GitHub flow, etc) anti build-once deploy-everywhere?

Historically, especially in the Java world, build-once, deploy everywhere has been a very big thing for deployments. Artifacts should be built exactly one time when a release is made and stored ...
user avatar
2 votes
1 answer
473 views

Publish pipeline artifact to Slack

I have a pipeline on Azure DevOps that publishes an artifact (releasenotes.txt). It also has integration with Slack using ( https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/slack?...
user avatar
2 votes
1 answer
1k views

Anyone know how to use $CIRCLE_BUILD_NUM across different jobs in CircleCI?

I use $CIRCLE_BUILD_NUM in different jobs in a workflow (but it seems like that get incremented in between jobs of the same workflow)? I did some research and it looks like I can switch to ...
user avatar
  • 121
1 vote
2 answers
85 views

Dev-Ops with bitbucket

I want to improve my current dev CI workflow, I would like to create a server with ISPConfig and some kind of CI tool like Jenkins The catch is It has to all sit on 1 server, I see folks saying ...
user avatar
  • 111
1 vote
1 answer
2k views

Reading two Repos in Azure Build pipeline

I created a Build pipeline in Azure using classic editor and selected empty job instead of using any template. This way provides option to connect only one repository at once. My requirement is to ...
user avatar
1 vote
1 answer
777 views

Is it possible to install RPM build on Debian?

I have a Docker-based Debian Sid build environment for Go. The build script of an is configured to build both .deb and .rpm. The rpm build process of a component I wish to build requires though the ...
user avatar
0 votes
1 answer
1k views

How to make a goreleaser script to build a deb file locally?

I am an absolute novice in Golang but I want to modify a Go build script to build a file locally only instead of publishing it to GitHub. https://github.com/dahendel/docker-machine-driver-cloudstack/...
user avatar
1 vote
1 answer
29 views

Pooled Build Server and Multibranch development to stabilize the trunk?

I'm a Dev in a big (40+ Devs) old (16+Years) SW project. We still work with SVN as source control but we are getting after automation as much as we can. One problem that hounts us is, that 40 devs ...
user avatar
0 votes
2 answers
7k views

CI/CD pipelines Azure devops automatic merge after deploy release

I have a classic env. setup like following: I have 2 branches : Develop and Master. Is there any way in azure devops to setup the following rule: When a deploy is succeeded on dev environment (...
user avatar
30 votes
1 answer
34k 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 ...
user avatar
  • 607
1 vote
1 answer
1k views

How trigger a build by a commit in a branch prefix?

On the Azure DevOps, in we git we have a schema of branches where we create a branch per sprint, for sample: sprint01 sprint02 sprint03 ... We keep the 3 last sprint branches, and in this case when ...
user avatar
2 votes
1 answer
601 views

Azure Devops: Filter Test Projects in Nuget Build Pipeline

I'm working on a nuget build pipeline. My problem is that my integration test project is being packaged and deployed to the azure artifacts, while my unit test projects are not. The integration test ...
user avatar
  • 133
0 votes
1 answer
42 views

Organizing the build steps on AzureDevOps

I am new on DevOps world and I am making my first build/release pipeline for a .net web application using Azure DevOps. On the picture bellow, I just add some build steps and create some tasks groups ...
user avatar
0 votes
1 answer
53 views

Microsoft DevOps: build triggering vs release

I have this setup: Build 1 builds and trigger Release 1 when finished Build 2 is triggered by Build 1 and release Release 2 If I have one parallel job, can I be sure that: Release 1 is always run ...
user avatar
  • 177
2 votes
1 answer
331 views

Cancel sibling snapshot dependency on failure

I have a simple build chain configure in TeamCity: build -> create-base-image -> -> docker publish test -> I have ...
user avatar
  • 149
0 votes
1 answer
468 views

How to build windows image on azure dev ops hosted agent

The host agent pool on azure-devops to build windows container, Hosted Windows Container is running Windows Server version 1803. But I want to deploy on Windows Server 2019, so instead of using ...
user avatar
  • 111
1 vote
2 answers
159 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), ...
user avatar
7 votes
3 answers
4k views

Jenkins: What is a build?

I'm coming from Ops and I don't have a heavy software engineering background. In Jenkins, what is a "build" exactly and why is it named such? When I build a shell/powershell script, I'm not really ...
user avatar
0 votes
3 answers
1k views

Jenkins in private subnet

For development environment, to be used by multiple developers, we have a pipeline to be created with Git-Jenkins-Tomcat(dev) Do I need to place jenkins in private subnet and access thru bastion host?
user avatar
1 vote
2 answers
703 views

jenkins pipeline code to build docker images

I am trying to integrate docker build process in Jenkins. I know the things with docker plugin and configure docker agent and template to build it. I want these things to be done with Jenkins pipeline ...
user avatar
2 votes
1 answer
144 views

Can the Angular CLI be used to build and deploy on a remote server via ssh?

I'd like to use the Angular CLI to build the app and deploy it on my remote server via SSH. Is this feature available?
user avatar
  • 121
6 votes
2 answers
2k views

Is artifact promotion in this pipeline correct?

I have been tasked with rebuilding my DevOps pipeline and I need some help with a few parts. We will have our code in BitBucket and have something trigger a server to spin up and validate our PR's. ...
user avatar
  • 305
2 votes
1 answer
2k views

Trigger a job and get the job log on the same page in Jenkins

I would like to trigger the job in Jenkins and also get the log on the same page. E.g. Kind of IDE where we can run the code in one side and get the output on the other side. Are there any tools ...
user avatar
  • 145
2 votes
1 answer
1k views

Configuration of AWS CodePipeline for Android CI/CD

I'm trying to set up a basic CI/CD pipeline for an Android project using AWS CodePipeline and I have 3 steps in the pipeline as follows: Source: Pull project from GitHub repo Build: Build the android ...
user avatar
5 votes
1 answer
293 views

AWS CodePipeline staged deployments

I am implementing a CICD pipeline using CodePipeline, CodeCommit, CodeDeploy and CloudFormation (I skipped the build part of the pipeline and am going to commit built code for the moment). I already ...
user avatar
2 votes
1 answer
868 views

Automated patching of docker images

Docker and other container images have become important building blocks especially for software production pipelines. Unfortunately, several researchers (e.g. BanyanOps) have shown how vulnerable ...
user avatar
  • 270
2 votes
0 answers
647 views

Usage of Tasks vs Jobs in Concourse CI [closed]

I would like to know when it would be ideal to use Jobs over Tasks. What I mean is there are situations where we could run tasks within a job that are not dependant to each other in parallel, which I ...
user avatar
8 votes
3 answers
2k views

Condition CircleCI build on what part of monorepo changed?

I'm working on a monorepo project that contains a few different subprojects in different languages. Right now I run three different CircleCI "jobs" on each commit. However, each of these packages ...
user avatar
  • 335