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

Best practice multiple pipelines into production

Working with a larger corporate. They are planning on opening a second pipeline for a hybrid mobile app. This second pipeline will be for hotfixes straight into production. My gut feeling is that this ...
lindsaymacvean's user avatar
1 vote
1 answer
11 views

Builds triggered by change of arbitrary artifacts?

I am wondering about this: we are all used to continuous build. I.e. every push of source code to a version control system triggers a build job on a build system (Jenkins, GitLab CI/CD, whatever, ...) ...
Pirx's user avatar
  • 11
1 vote
0 answers
45 views

Why is my Gitlab shell executor only returning "0 0"?

All the sudden my self-hosted runner set to use the shell executor started returning "0 0" which is causing the pipeline to incorrectly "succeed" at every step without executing ...
kriipke's user avatar
  • 11
0 votes
0 answers
86 views

Azure DevOps Build Validation of other repo's pipeline: "while loading the YAML build pipeline. Object reference not set to an instance of an object."

This (nearly empty) Azure DevOps pipeline yaml fails when initiated because of a PR from another repo's Build Validation: azure-pipelines.yaml of "App A": pool: name: default steps: - ...
Jason Kleban's user avatar
0 votes
0 answers
578 views

Build Docker container for ARM64

I am trying to have a Blazor app developped with .NET 7 being containerized. It eventually targets ARM64 (Raspberry Pi). I need to have the image created when the code is pushed to a GitHub repo. ...
UchiTesting's user avatar
0 votes
0 answers
208 views

Wildcard Branch Trigger not working for Azure Devops

I have an Azure Devops build pipeline that has multiple branch triggers. I am using a wildcard to capture changes to branches under refresh/4.*. An example of a branch that I am targeting in this case ...
Cooper Link's user avatar
0 votes
0 answers
91 views

Azure DevOps build pipeline with 2 build tasks

I am writing an azure devops build pipleine which is building a c# application, I am having an issue though as the developers have set the .sln to build as follows: Debug (for dev use) Release (for ...
user182595's user avatar
0 votes
0 answers
598 views

is it bad practice to store yaml pipelines in the same repo as code

I created a couple of yaml pipelines and am storing them in the gitrepo of the application that I am deploying. The issue is, Now I have a couple of tools in separate repos and often reuse the same ...
qBasicBoy's user avatar
0 votes
0 answers
15 views

Why does my merge job always end with everything up-to-date?

I want to merge dev and master branch every midnight and create a logfile of the application date wise. i.e dev-app-dd-mm-yy.log or master-app-dd-mm-yy.log. My app is running on docker and ci is done ...
Alan's user avatar
  • 23
0 votes
0 answers
19 views

Policy for read-only Azure

What happens I want to make a policy that prohibits a certain user from excluding a group of resources, what I did below seems right to me but it doesn't work and I don't know why, the code below was ...
Luiz Felipe Alves Bender's user avatar
0 votes
0 answers
50 views

Dev/prod tagging strategy with large docker images

I am currently implementing a CI/CD pipeline for a machine learning docker image that is to be deployed on a Kubernetes cluster after the image is built and sent to a Harbor image registry. There is a ...
Tim's user avatar
  • 1
2 votes
3 answers
66 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 ...
collin_tgz's user avatar
0 votes
0 answers
1k 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....
AyCe's user avatar
  • 101
0 votes
2 answers
115 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 ...
CIsForCookies's user avatar
1 vote
1 answer
33 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 ...
Chris Pillen's user avatar
0 votes
1 answer
163 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 ...
monz777's user avatar
0 votes
1 answer
421 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 ...
nova world's user avatar
1 vote
0 answers
37 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 ...
InteXX's user avatar
  • 111
1 vote
1 answer
383 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 -> ...
cyau's user avatar
  • 123
1 vote
0 answers
22 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 ...
Stephen Wright's user avatar
3 votes
1 answer
683 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 ...
jerry383's user avatar
2 votes
1 answer
108 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 ...
Himura's user avatar
  • 123
1 vote
1 answer
598 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 ...
Staeff's user avatar
  • 111
0 votes
2 answers
89 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-...
P i's user avatar
  • 101
1 vote
1 answer
558 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 (...
Eric's user avatar
  • 11
2 votes
1 answer
152 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 ...
John Rocha's user avatar
1 vote
1 answer
234 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 ...
CorbinMc's user avatar
  • 111
3 votes
1 answer
316 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 ...
Auto-learner's user avatar
2 votes
1 answer
520 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 ...
ccoutinho's user avatar
  • 123
4 votes
1 answer
1k 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 ...
John Humphreys's user avatar
2 votes
1 answer
638 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?...
user1202032's user avatar
3 votes
1 answer
2k 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 ...
erotsppa's user avatar
  • 131
1 vote
2 answers
103 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 ...
Kravitz's 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 ...
Alex Raj Kaliamoorthy's user avatar
1 vote
1 answer
1k 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 ...
Ta Mu's user avatar
  • 6,782
0 votes
1 answer
2k 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/...
Ta Mu's user avatar
  • 6,782
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 ...
KFleischer's 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 (...
Haithem KAROUI's user avatar
44 votes
1 answer
56k 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 ...
avazula's user avatar
  • 809
1 vote
1 answer
2k 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 ...
Felipe Oriani's user avatar
2 votes
1 answer
735 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 ...
Josh's user avatar
  • 133
0 votes
1 answer
46 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 ...
Felipe Oriani's user avatar
0 votes
1 answer
64 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 ...
mslot's user avatar
  • 177
2 votes
1 answer
423 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 ...
elwyn's user avatar
  • 149
0 votes
1 answer
507 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 ...
Justin's user avatar
  • 111
1 vote
2 answers
248 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), ...
shanehoban's user avatar
7 votes
3 answers
6k 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 ...
user1330287's user avatar
0 votes
3 answers
2k 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?
overexchange's user avatar
1 vote
2 answers
740 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 ...
Sunil Bhoi's user avatar
2 votes
1 answer
170 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?
seinecle's user avatar
  • 121