Questions tagged [build-pipeline]

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

62 questions
57
votes
1 answer

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 to pass the pipeline execution in Jenkins CI, but…
avazula
  • 959
  • 2
  • 7
  • 15
29
votes
3 answers

How to build a complex parallel Jenkins pipeline?

I've been interested in converting our bespoke Jenkins integrations into a pipeline. However, I can't seem to figure out how to do it. Can anyone help me with the Jenkins script that could do the following? 1---2---3-----------9---10 | …
13
votes
4 answers

CodeBuild - multiple input artifacts in AWS Pipeline

I am building an AWS CodePipeline which depends on two source repositories. If the 'CodeBuild' step is specified with multiple Input artifacts, then you get the error: .. declares 2 input artifacts which is more than the maximum count. Documentation…
romaninsh
  • 370
  • 2
  • 11
8
votes
2 answers

How to cache third party resources in a build pipeline?

A build-pipeline often requires to access third party resources, aside from the source code of the artefacts it is meant to build. Each of these third party resources introduce a risk factor in builds, for instance: Distribution repositories are…
Michaël Le Barbier
  • 2,670
  • 1
  • 16
  • 27
8
votes
3 answers

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 compile and test themselves independently. Hence I…
7
votes
3 answers

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 compiling anything, am I? Then why is Jenkins…
6
votes
1 answer

Continuous Integraton using Jenkins Pipeline for a .NET project

The project: A .NET standalone application consisting in: The main application that is a Windows Service containing a web server used for the web interface. Project is 90% .NET (Framework, Standard and Core) plus a few C++ libraries Windows Agents…
Cosmin
  • 169
  • 2
  • 5
6
votes
2 answers

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. I don't fully understand how to do this at the…
Chris
  • 315
  • 2
  • 8
5
votes
2 answers

How to manage Free and Open Source Software dependencies?

We exist in an increasingly complex ecosystem of Free and Open Source Software, FOSS, and it's dependencies. Having done a bit of analysis on one medium size project there are over 1,500 dependent software packages, not counting different versions…
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
5
votes
1 answer

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 have a CloudFormation template that creates the…
5
votes
1 answer

Storing Meta Data for Apps/tools

Have created a number of images via packer and soon coming to the conclusion that binaries/images soon rack up in qty and need to find away to store config data. We are going to use ansible to hold config data for apps and was wondering about how…
Nick Gleed
  • 105
  • 2
5
votes
2 answers

Decoupling data of devops tools eg jenkins nexus

Building devops pipe with tools such as Jenkins, Nexus, Hashicorp etc.. Deploying via terraform ansible & packer. Intending to use load balancers in front of each tool, want to deploy tools listed above with their data decoupled enabling easier tear…
Nick Gleed
  • 105
  • 2
4
votes
1 answer

Multiple gradle builds with docker

I have a multi-branch setup on Jenkins for my Gradle project. I would like to be efficient in terms of performance and cost as well (money!). Meaning, if would like to build my project many times, for different branches, commits, in parallel. For…
Valter Silva
  • 209
  • 1
  • 2
  • 6
4
votes
1 answer

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 somewhere like Nexus or Artifactory where they are…
3
votes
2 answers

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 CIRCLE_WORKFLOW_ID which is unique for the workflow but then…
erotsppa
  • 131
  • 2
1
2 3 4 5