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
0 votes
1 answer
18 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 ...
user avatar
0 votes
1 answer
11 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 (~...
user avatar
  • 205
0 votes
0 answers
103 views

Docker image build Error : unable to find user admin: no matching entries in passwd file

here's how my Dockerfile look like : [root@centos7 ~]# cat Dockerfile # syntax=docker/dockerfile:1 #use centos image FROM centos # Add none root user CMD useradd admin && echo "admin:...
user avatar
0 votes
0 answers
14 views

How to test/validate a custom build of Python

I have various docker images that I build that include stages that download the Python source, build and install it in the images. When the builds run, I see occasional error or warning messages that ...
user avatar
0 votes
0 answers
6 views

How do you set up an OpenShift build config so that triggered builds are deleted automatically when completed?

So I create OpenShift build config, then run a build. And it completes successfully. How do I set it up so that completed builds are automatically deleted? Because after I run several builds, they ...
user avatar
0 votes
1 answer
163 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 ...
user avatar
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
350 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="${...
user avatar
2 votes
1 answer
221 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
0 votes
2 answers
91 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 ...
user avatar
  • 101
2 votes
6 answers
336 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 ...
user avatar
2 votes
1 answer
97 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
2 answers
42 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 ...
user avatar
  • 205
0 votes
1 answer
19 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 ...
user avatar
  • 109
-1 votes
1 answer
55 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 ...
user avatar
2 votes
0 answers
43 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 ...
user avatar
  • 435
2 votes
3 answers
4k 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 ...
user avatar
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 ...
user avatar
  • 121
0 votes
1 answer
135 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 ...
user avatar
  • 12.5k
8 votes
3 answers
146 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 ...
user avatar
  • 205
2 votes
1 answer
806 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"...
user avatar
1 vote
1 answer
329 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 ...
user avatar
2 votes
1 answer
683 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: ... # ...
user avatar
  • 185
1 vote
1 answer
775 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 ...
user avatar
1 vote
2 answers
58 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 ...
user avatar
  • 111
0 votes
1 answer
821 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 | ...
user avatar
  • 12.5k
6 votes
1 answer
399 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 ...
user avatar
  • 466
3 votes
3 answers
173 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 ...
user avatar
  • 466
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 ...
user avatar
  • 829
10 votes
2 answers
705 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 ...
user avatar
  • 203
1 vote
1 answer
1k 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</...
user avatar
  • 33
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 ...
user avatar
  • 33
8 votes
3 answers
2k 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 ...
user avatar
  • 81
4 votes
2 answers
116 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 ...
user avatar
2 votes
1 answer
119 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 ...
user avatar
  • 123
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 ...
user avatar
  • 899
12 votes
1 answer
634 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 ...
user avatar
  • 934
9 votes
2 answers
336 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-...
user avatar
  • 2,726
22 votes
4 answers
4k 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 ...
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?
user avatar
  • 7,011