Questions tagged [builds]

The process of converting source code files into standalone software artifact(s) that can be run on a computer. Can also describe a CI/CDs tools configuration such as TeamCity's 'Build Configurations' or TFS' 'Build Definitions'.

Filter by
Sorted by
Tagged with
23 votes
4 answers
5k views

How to get rid of develop branch for simplified Git flow

In a continuously developed web project (not a product) we currently have the following branching strategy, roughly based on git flow: develop branch: latest working version master branch: version to ...
Fabian Schmengler's user avatar
12 votes
1 answer
821 views

How to restrict filesystem access in Atlassian Bamboo builds?

We have Atlassian Bamboo running on Ubuntu. When a developer is setting up a build, then he or she has the possibility to run shell script tasks. This is useful to run (custom) commands on the ...
7ochem's user avatar
  • 974
10 votes
2 answers
718 views

Crash course in Dev for Ops?

I schooled in CompSci where we were primarily taught Java, but what I learned there is that my passion is systems, so I've always worked the ops side. I'm handy with scripting, so I'm not looking for ...
Stephen C's user avatar
  • 203
9 votes
2 answers
410 views

What exactly are "Truly reproducible builds"?

What exactly are they? Why are they important, in the domain of Continuous Delivery? Context: I have seen in one of (I guess reddit)'s comments that Truly Reproducible builds are still an under-...
Dawny33's user avatar
  • 2,826
8 votes
3 answers
208 views

Why is build size such a concern?

I often hear (from people, but also from informative CLIs) that the "build/slug size is large". This is particularly so when the build is 0.5 - 2 GB in size Why (or under what circumstances) is build ...
stevec's user avatar
  • 185
8 votes
3 answers
3k views

How to create staging servers for multiple git branches?

I have to create a new staging process for our development and testing. At any given time, there are only around 4 git branches actively being developed and tested. Within each git branch, there may ...
max1221's user avatar
  • 81
6 votes
1 answer
478 views

Build Design - Docker vs Fedora's Mock

This post is migrated from a reddit post. Parts in bold are to adopt it to SE's format. I'm talking with companies to help streamline/combine their build process. They must do it together and their ...
scott's user avatar
  • 466
4 votes
2 answers
144 views

RPM's, VM's : time consuming

I am constantly delivering RPM packages upon every new version of some project. Every version is dependent on some developing prerequisites CentOS 7 git Some npm packages. Some Python PIP packages ...
Amit Arie's user avatar
3 votes
3 answers
199 views

Should compilers be kept in artifactory?

We are setting up our source and build system in AWS. we will have two persistent VMs hosting source and artifactory. We have a bunch of compilers (a few Gigs) we want available via NFS, is this ...
scott's user avatar
  • 466
3 votes
1 answer
1k 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
3 votes
1 answer
2k views

Dockerfile COPY command with three input parameters

I've encountered a Multi-stage Build example, where the first stage builds a ngnix server, and the second stage creates a ngnix service from that image. The second stage looks like this: ... # ...
orberkov's user avatar
  • 195
2 votes
3 answers
6k views

How to execute a Jenkins job until the build is green

We have got test automation in Jenkins, and we would like to execute it at midnight. But sometimes it fails, and sometimes it passes. Our idea is to execute the daily builds from 1:00 AM until it is ...
Tibor Száraz's user avatar
2 votes
6 answers
921 views

What does "build step" mean?

The term build step is used everywhere, yet I searched both google.com and qwant.com to no avail. That baffles my mind. I also searched for a developer terminology index. Anyone has a good explanation ...
Smurf Developer's user avatar
2 votes
2 answers
2k views

Is it possible to build Jenkins jobs without using build numbers?

I have a job which is running very frequently, so I'd like to avoid high number of builds. Is there any way to drop job build numbers, so the job is constantly ran, but without high numbers of builds?
kenorb's user avatar
  • 7,781
2 votes
1 answer
1k views

How to make the Jenkins agent build then start the server?

I want the Jenkins agent to build and start the server. I do this by specifying how to build and start the server in the Build step of the project configuration in Bash echo "Installing dependencies"...
Tran Triet's user avatar
2 votes
1 answer
1k views

Using Anaconda instead of pip+virtualenv

We are currently using pip+virtualenv and install all our Python dependencies during the application build step on the CI. This requires compiling some of the packages, which contain C modules, which ...
alecxe's user avatar
  • 849
2 votes
1 answer
61 views

How to have kubernetes (re)build containers on deployment similar to openshifts ImageStream

I am currently investigating how to manage the containers for our new data-processing pipeline. What I would like to do is to be able to have whatever tool I choose rebuild the docker images when I ...
lijat's user avatar
  • 121
2 votes
1 answer
131 views

Jenkins Testing PR's - allowing broken builds

I have a very large codebase that currently takes ~30 minutes to build via Jenkins. It's connected to our Source control/review system (Let's just say GitHub for now) so that every PR automatically ...
Yeraze's user avatar
  • 123
2 votes
1 answer
897 views

How to use script in a Gitlab bridge job?

I have a job which needs to include another job and needs to append a value to a variable, such as: nightlies: variables: BUILD_NAME: "nightly" script: - $BUILD_NAME="${...
user1092809's user avatar
2 votes
1 answer
201 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
2 votes
2 answers
2k views

Where should I store my build configuration files?

At my work we use git for our source control, MSBuild for our builds, and Jenkins for our CI. Our git repo will have different branches for the cycle of the product (develop, QA, release). My ...
nichos's user avatar
  • 33
2 votes
0 answers
57 views

Issue building deb package using Docker/Windows

I am trying to create a way for our developers to be able to build deb packages from their Windows machines. We would like to reuse what we have for *nix so I've written a few batch scripts which are ...
joshk132's user avatar
  • 465
1 vote
2 answers
91 views

What exactly is a buildpack in DevOps?

I am familiar with the term buildpack from a platform called Heroku. But I am not sure if it's a Heroku-specific term, or if it exists more broadly in DevOps nomenclature? When I google, I see plenty ...
stevec's user avatar
  • 185
1 vote
2 answers
69 views

Code coverage versus functional coverage

We are working on a big Java project where we use JUnit tests. Our Jenkins helps us to monitor the code coverage and shows us the progress we make with this. But there seems to be something lacking ...
Frank's user avatar
  • 111
1 vote
1 answer
472 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 ...
CrazyCoder's user avatar
1 vote
1 answer
14 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
1 answer
665 views

How to upload a file as user input in Github Actions workflow?

I would like to upload .env file to a build in Github Actions. Is there any way I can do it?
Nitesh B.'s user avatar
  • 111
1 vote
0 answers
29 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
1 vote
1 answer
1k 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 ...
dingcoder's user avatar
1 vote
1 answer
2k views

How to pass dynamic properties to an MSbuild task?

Is it possible to pass a dynamic property group to an MSbuild task? So if I have the following properties and values: <MyPropertyGroup> <Foo>bar</Foo> <Foo1>bar1</...
nichos's user avatar
  • 33
0 votes
1 answer
952 views

Is Windows in general always slower than linux? [closed]

There are multiple distribution in the company. Building the same project results in different build times (see table 1). | win10laptop32gbram | win10laptopOld | win7laptop | win7server | linuxvm | ...
030's user avatar
  • 13.1k
0 votes
1 answer
7k views

Maven command for Sonarqube analysis

I am planning to build a Maven project in Jenkins. I tried to do some research how to give goals for Maven for doing few steps in one command but cant get understood how to do. What I mean is how ...
pandey's user avatar
  • 949
0 votes
1 answer
12 views

Typical build size of the top 20 most popular frameworks?

"Endless list" questions are a no no, so I limit to top 20 only. I am presenting to non-dev ops people (even though I am one myself) on how some software we use creates quite a large image (~...
stevec's user avatar
  • 185
0 votes
1 answer
909 views

Bitbucket triggers builds on deleted branches

I configured Bitbucket webhook to trigger on Repository push. After each merge (which also deletes the source branch) it triggers build, which fails in Codefresh because of deleted branch. Does anyone ...
isobretatel's user avatar
0 votes
2 answers
300 views

Build image from inside a pod or container

It seems pretty easy to build image when I just mount the docker.sock in a container. It's same as what I do on hosts machine. Simply docker build . -t image/name:sometag. But when I need to do the ...
Nabin's user avatar
  • 101
0 votes
1 answer
21 views

Looking for a good book explaining how things work in the industrial system test environment and production environment

Any advice on a good book explaining how things work in the industrial system test environment and production environment? It's my first time in this topic, so I would need a general overview. Key ...
Tms91's user avatar
  • 109
0 votes
1 answer
297 views

What options are available to report the build status of Jenkins Multi Pipeline's first branch build on k8s to bitbucket-cloud?

Background The Bitbucket Status Notifier plugin has been configured. The status was reported, but since more and more jobs have been moved to Jenkins-on-steroids that is running on k8s, buildStats ...
030's user avatar
  • 13.1k
0 votes
0 answers
9 views

How are the host, build, and target platforms of a package defined?

https://www.uber.com/blog/bootstrapping-ubers-infrastructure-on-arm64-with-zig/ says: A host is the machine that is compiling the binary. A target is the machine that will run the binary. In native ...
Tim's user avatar
  • 131
0 votes
1 answer
161 views

Is it possible to deploy a self hosted agent from Azure DevOps?

I need to deploy a self hosted agent from Azure DevOps to on premise Hyper-V hosts. I have VMM managing the hosts. I need to complete the following: Deploy the VM from a base template Install Pre ...
CarlosDeanos's user avatar
0 votes
0 answers
34 views

How are Pull Request Builds executed?

I recently came across a PR build which for some reason was only checking if code merge is possible and was not really building on merged code. I always had an understanding that the PR build should ...
dev2d's user avatar
  • 151
0 votes
1 answer
28 views

How come Maven's validate and verify phases execute without goals bound to them?

Maven's documentation states the following: "If a build phase has no goals bound to it, that build phase will not execute" However, according to the same documentation, the validate and ...
Omar Shazly's user avatar
-1 votes
1 answer
61 views

Last Question on CI-CD edx.org Final Exam [closed]

The problem: An organization is developing a solution that contains a web application project class library projectS You manage a continuous integration pipeline for the application. Each time ...
Rafael Gramoschi's user avatar