Skip to main content

Questions tagged [jenkins]

Jenkins is an open-source Continuous Integration server that is easily extensible and has a rich library of plug-ins.

Filter by
Sorted by
Tagged with
2 votes
1 answer
193 views

How to increase maintainability in CI/CD pipelines

We have an issue of maintainability for our pipelines at the organization where I work, whereby making a change and ensuring the change is tested and bug-free for our customers (other developers in ...
-4 votes
2 answers
188 views

Does Jenkins essentially function like a package manager for your software product?

I'm a relatively new IT Ops guy in a software (web) development company. Recently I deployed a virtual machine on OpenStack, because some developer needs it, and then I installed their application (...
-3 votes
1 answer
196 views

How to organise the correct handling of versions of binaries

I'm currently working in a firm, based on an executable, who uses different DLLs. There are several issues: Everybody builds the binaries on his own PC. The executables (*.exe and *.dll files) are ...
1 vote
0 answers
559 views

Jenkins and Monorepos

I am pondering moving some parts of the system I work on to a monorepo. The structure I have now is something like: +- Project 1 +- pom.xml | +- Jenkinsfile | +- Dockerfile +- ...
-2 votes
3 answers
164 views

Nightly Builds Test against real database

Is it a good practice to hit actual database for Integrations test(Not prod but pre prod DB) for Jenkins Night builds? The reason I am asking this is because our DAO uses procedures to perform simple ...
2 votes
0 answers
295 views

Build & deploy individual apps from a monorepo

My Proposed Monorepo Architecture This layout is what I've come up with from reading through tons of articles and being convinced that Nx suits many of our needs where I work. The layout works fine ...
1 vote
2 answers
74 views

Should I pull to another job workspace or should I push from it the 2nd job dependencies?

I have a question regarding CI/CD procedure. I do have 2 Jenkins jobs, the 1st one will build a binary file who is a dependency to the 2nd job build successfully. Should I push this binary from 1st ...
1 vote
0 answers
666 views

How to run the Unit Test on Master branch using hook before merging the incoming changes of other branches

We have project which have more than 500 unit test and run for hours through Jenkins CI pipeline. In case there is failure of single UNIT test we need to kick off the build job again. I want to run ...
0 votes
1 answer
241 views

Using a db as part of CI

I am designing a CI system where I need to leverage a database as part of the software build process for integration tests. Different developers on different branches of the same repo will want to run ...
0 votes
0 answers
666 views

Jenkins Docker image, to use bind mounts or not?

I am reading through this bit of the Jenkins Docker README and there seems to be a section that contradicts itself from my current understanding. https://github.com/jenkinsci/docker/blob/master/README....
8 votes
1 answer
3k views

shared CD (Continuous Deployment) for multiple Git repositories

Long story short What is the best way to design a shared CD for multiple Git repositories (frontend and backend)? I'm struggling to find the best design for our CD. The whole picture (The details ...
0 votes
2 answers
2k views

Deploy a NodeJs (FrontEnd) and a Spring (BackEnd) project as one artefact

I have a current project which consist out of two independently developed projects: Spring REST as back end Angular as front end I do have a Jenkins instance available for building my projects and I'...
-2 votes
1 answer
582 views

Release pipeline - Which artifact goes in production?

Below is the GitFlow workflow, we are using for a project. So, in our project master branch currently has only one git commit with just a Readme file. develop branch is forked from that commit. As of ...
6 votes
3 answers
253 views

Best practices for marking build tarballs as unit/component test passed

During our current build process, we have C code that gets compiled and archived together with some Python code in a tarball. That tarball represents a commit (that can be or not be a release commit). ...
3 votes
1 answer
147 views

When to write a Jenkins plugin?

We are using Jenkins extensively. We have several jobs, for building and testing. Our problem is that the current email notifications are not so good, so we are improving that. Basically, we are ...
2 votes
1 answer
2k views

Organizing Jenkins around SVN branches and deployment environments

Current setup We currently have one Jenkins server that automates deployments for about 15 different Java web applications. Each application has three deployment environments on separate Linux boxes. ...
-2 votes
1 answer
173 views

Finding convincing arguments to explain a poorly designed continuous integration pipeline

I'm designing a continuous integration pipeline using Bitbucket & Jenkins with only master and feature branches. I'm failing to find convincing arguments to the fact that my design is better. * ...
2 votes
2 answers
1k views

How to keep track of maven dependency updates in projects?

How do you keep track of maven dependency versions? Let's say you are using version 1.0.5 of an library. <dependency> <groupId>groupIdName</groupId> <artifactId>...
1 vote
1 answer
3k views

What are Build Teams, Build Farms and Build Servers?

I was watching this video to learn about how to use Docker and Jenkins. This guy immediately started talking about concepts I never heard before (well, I'm still in college), which really caught my ...
12 votes
6 answers
628 views

Are scrum and a stable development build a contradiction?

I'm part of a development group with 5 teams, total of about 40 developers. We're following the Scrum methodology, with 3-week sprints. We have a continuous integration setup (Jenkins), with a build ...
2 votes
1 answer
553 views

How to test web service

I want to test my web service/web method not by using SOAP but with Junit or other framework. The first solution that I have founded is to create stub of my project and use a client to call this ...
3 votes
2 answers
2k views

Build on each commit - Continuous delivery

Just watched a video about continous delivery and there it was suggested to trigger a build and execute unit test on each commit. For our team of 10 developers and a build time of at least 10 minues I ...
2 votes
1 answer
1k views

Jenkins: rsync from built workspace or pull from original repository and build again

I'm currently setting up a Jenkins pipeline for a web application and am wondering which methods of deployment are most common or recommended. Currently Jenkins polls the SCM for new commits and ...
1 vote
2 answers
925 views

Deploy Jenkins manually or using orchestration?

So for my company's deployment pipeline (which is evolving towards CI+CD), I'm being asked to deploy a Jenkins server. As it happens, all the staging and production servers are already being deployed ...
3 votes
1 answer
944 views

Using private NuGet repository and Jenkins to handle dependencies

I am experimenting with using a private NuGet repository and jenkins to deal with dependencies. Let's say we have exe A and libraries B,C and D. Exe A depends on library B which depends on C and D. ...
0 votes
2 answers
308 views

Team Services - Jenkins build server

Currently in our business we use Team Services in the cloud with a single self hosted build agent which runs locally on a server in our office. As we are expanding and taking on more work there is an ...
5 votes
6 answers
307 views

Stronger Unit Tests Unearth Many Bugs, What to do re Validations?

I recently upgraded some tests that unearthed a lot of previously hidden bugs. The bugs are rare and low priority, but they are still bugs and will eventually need to be fixed. How should I handle ...
13 votes
2 answers
44k views

Jenkins to automate deployment of ASP.NET applications

Is there any possibility to automate/semi-automate deployments of ASP.NET web applications using Jenkins. It can be under controlled or uncontrolled environments, for uncontrolled user needs to enter ...
10 votes
1 answer
12k views

Jenkins Paramerized Trigger + Copy Artifact

I'm working on setting up Jenkins to handle our release builds. A release build consists of a Windows installer that includes some binaries that must be built on Linux. Here's what I have so far: ...
4 votes
2 answers
334 views

Is this the wrong environment for CI?

Background Team/Project Size Currently at our company, we have a team of 3 developers. We each have our own projects that we work on. So, we never have more than one person working on a software ...
3 votes
1 answer
1k views

An elegant way to store build counter [closed]

We use Git and Jenkins as our build&release system and each build is assigned a version number which looks like this: 6.0.12345. Here, the 12345 part is a counter which increments with each build. ...
4 votes
1 answer
406 views

Conventions for revision control with Maven/Jenkins

For a software project I am working on, we have a 'dev => QA => production' methodology. That is, we create a release candidate (deployed to Artifactory), give it to QA (deploy to QA systems and a QA ...
23 votes
8 answers
3k views

How to deal with tremendous number of failing tests? [closed]

I'm working in the development of an old project written in Java. We have more than 10 million LOC and, even worse, more than 4000 functional tests. The tests, scheduled by Hudson, are failing like ...
17 votes
3 answers
17k views

Writing jenkins plugin: where is the documentation?

On my current project we're using Jenkins to monitor our builds. Now they want me to write a Jenkins plugin to add some more monitoring parameters. I've taken a look at how the status monitor plugin ...
1 vote
2 answers
4k views

CI Server vs Build Server [closed]

Forgive my ignorance, but I'm having a difficult time finding an answer to this. We currently use TFS and a TFS Build server. I was looking at other build server options and was wondering if products ...
2 votes
2 answers
163 views

Is there some way to mark which branch is the latest in subversion?

We're reworking our process with subversion at the moment, and one of the things we're doing is making branches for each release target in our demo environment so that you can test a release that has ...
1 vote
1 answer
2k views

Dynamic git URL for Jenkins builds

We internally use GitHub Enterprise and Jenkins. If I push on the main repository it is automatically build without and the Commit is marked as correct (just as Travis does this). However, I want to ...
2 votes
2 answers
2k views

Why does Jenkins warn you if you tell it to check for changes every minute?

In the past when I've set up Jenkins to look for version control changes every second by using the cron format of "* * * * *" (or something like that). When you do this, it gives you a warning and ...
0 votes
2 answers
16k views

Scheduling a Jenkins job to only run integration test [closed]

My current company has a Jenkins/DotCi setup. Our current process for CI is when dev pushes to github, jenkins runs unit tests on all branches and reports back to us via email if the unit tests failed....
0 votes
1 answer
195 views

Continuous Integration for different languages [closed]

So, I understand Continuous Integration in theory, and have used Beanstalk. However, I've been charged with creating the process at my current PHP shop. My hope was maybe PHPCI, since it looked ...
1 vote
1 answer
261 views

Where to audit a codebase for dangerous code use [closed]

Not sure Programmers Stack Exchange is the place to ask this question, but thought I'd give it a go. Our team had a near miss recently with a nasty error where a method call had been added to the ...
1 vote
1 answer
1k views

Tomcat + Spring + CI workflow [closed]

We're starting our very first project with Spring and java web stack. This project will be mainly about rewriting quite large ERP/CRM from Zend Framework to Java. Important factor in my question is ...
5 votes
1 answer
146 views

Coping with build order requirements in automated builds

I have three Scala packages being built as separate sbt projects in separate repos with a dependency graph like this: M---->D ^ ^ | | +--+--+ ^ | S S is a service. ...
3 votes
2 answers
7k views

What is the benefit of Continuous Integration over make?

We are evaluating and setting up Continuous Integration for our PHP project. Each of the Continuous Integration tools has their own proprietary "build language" which will run many commands and check ...
11 votes
5 answers
995 views

What is Continous Integration (CI) and how is it useful? [closed]

Can some one explain to me the concept of Continious Integration, how it works in an easy to understand way? And why should a company adopt CI in their code delivery workflow? I am a developer and my ...
6 votes
1 answer
652 views

How should I expand Jenkins to help me release?

Pushing new Sparkle releases of our internal apps is a pain. I have to make the build, make the release notes file, sign the .zip with the private key, and add a new entry to the appcast file tying ...
4 votes
1 answer
4k views

iOS: Using Jenkins for nightly internal builds (TestFlight), plus frequent client builds [closed]

I'm an iOS dev, working for a small agency. I'm currently on a few smaller projects where I'm the only developer. We recently acquired a Jenkins server, but each project is left to fend for themselves ...
1 vote
1 answer
4k views

Is it a good practice to capture build artifacts in Artifactory that Jenkins produces?

We use Jenkins to run continuous integration builds. The output of these builds might be EAR files, WAR files, or just a collection of files that are TAR'd up. To this point we have used Jenkins to ...
4 votes
1 answer
3k views

How often should we launch SONAR analysis?

I successfully installed Jenkins and then Sonar to go with continuous integration. The firsts reports are not that good in term of rules violations ,comments, code duplication ... I set Jenkins to ...
7 votes
2 answers
1k views

Recommended methodology for working with shared libraries and Mercurial

I work in a small team of developers who all collaborate on several Zend PHP projects. We are using Mercurial with a collection of upstream repositories, as well as Jenkins for centralized testing ...