Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

For questions about Jenkins, an open source automation server, and using Jenkins for topics such as building, testing, and deploying software, etc. For questions specifically about Jenkins Plugins use the jenkins-plugins tag.

0
votes
1answer
13 views

Jenkins Pipeline “Build when a change is pushed to GitLab”

I have a Jenkins declarative pipeline that is ran via a webhook from GitLab whenever a change is pushed to my repo. In Jenkins, I have the following trigger option selected: Is there a way for me to ...
0
votes
1answer
20 views

System monitoring and reporting with Jenkins

Are there any plugins that would enable me to distribute system monitoring and reporting via Jenkins, if I provided it with data in a required format. E.g. I would like to write a simple script that ...
0
votes
1answer
17 views

How to use Jenkins to manage a repository from Github with a submodule from Bitbucket?

For my Jenkins build, I need to manage a Github repository to automate building a project. However, the issue is that this repository needs to pull a submodule from Bitbucket. This requires two ...
0
votes
1answer
13 views

Jenkins Pipeline GitLab API Credentials Management

I have a Jenkins pipeline that executes a build whenever a change is pushed to the appropriate branch. Jenkins uses an API token to authenticate with the GitLab server and checkout the repository. ...
0
votes
1answer
19 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 ...
1
vote
1answer
25 views

In Jenkins, how can parameters that contain spaces be referenced?

Google has failed to even lead me to a proper answer as to why spaces are permitted in names of Jenkins parameters, let alone how to reference them. Assuming it's not just a major oversight, how does ...
-1
votes
0answers
19 views

Checkout code using jenkins pipeline and build that on any available nodes/agents

I am trying to checkout the code at a particular location ( ex. C:/scm/ ) on windows using jenkins pipeline (jenkinsfile) and want to execute the build from the checkout location ( C:/scm/ ) in any ...
0
votes
0answers
8 views

Docker build not picking up built jar?

I am new to the DevOps world but I am trying to build a pipeline using Jenkins and Docker. I have Jenkins building the docker image by: docker build -f Dockerfile --build-arg jenkins_jar_file=${...
0
votes
3answers
46 views

Best Practices for a multi environment deployment using Jenkins

I have 3 environments, each on their own Virtual Network with their own configurations. Do I need to have 3 separate instances of Jenkins if I am to do Continuous Deployments on each of the ...
-1
votes
0answers
20 views

Jenkins Default Kubernetes Cloud Config Data

I'm managing huge pipeline with Jenkins.Running distributed jobs under Kubernetes provider. So that , I'm creating pipeline and creating connection with Jenkins Kubernetes plugin . How I can set ...
0
votes
0answers
21 views

Jenkins Fatal Exception

I have installed my jenkins on Linux machine with 2.73.1 version. Now my most of the jobs are getting failed due to same reason. AU bin/jobs/Sync.class A .settings A ....
0
votes
0answers
17 views

Mono Repo Structure with Codegen and CI

I would like to create a monorepo example as a demo for my boss with several frontend and backend projects. Currently we have mostly Spring APIs and Angular on the front-end. We are using Swagger-...
0
votes
0answers
12 views

Jenkins Custom Configxml

I'm building a custom Jenkins docker images , so I need some custom configuration at config.xml of Jenkins master . For example ; <docker-registry-url> <url>https://registry....
2
votes
1answer
38 views

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger ...
0
votes
0answers
13 views

How to lock resources when a Jenkins agent has multiple executors

At work we are transitioning from Bamboo to Jenkins. Currently we have multiple agents (Windows and macOS) each having a number of mobile devices attached (Android and iOS). Historically, Bamboo ...
0
votes
0answers
11 views

Kubernetes Plugin on Jenkins - Is there a way to set the number of slave pods to maintain?

I know that I want to always have n number of slave pods available using the Kubernetes plugin with Jenkins. Is there a way to set this?
0
votes
1answer
24 views

Jenkins Node Image at Kubernetes Plugin

I'm working on huge pipeline with different development environment (python, node, java). For manage this CI pipeline our teams using Jenkins at Kubernetes environment. I want to give PipeLine node ...
0
votes
1answer
25 views

Jenkins Pipeline job - remember previous values

I have a Jenkins Pipeline which uses Terraform and create a compute environment in GCP. There are like 5 questions in the build i.e. 1) GCP Project Name 2) Number of RHEL Servers 3) RHEL Server names ...
0
votes
1answer
18 views

Aggregating JUnit test results from multiple projects

We have a Jenkins setup which utilizes multiple projects for running various suites of tests for our application. There is one 'parent' project, which is triggered by Git commits. This project in ...
0
votes
0answers
40 views

Running a powershell script via Jenkins on a Linux host

I have a powershell script cloned into my workspace from a bitbucket repository. If I login to the Jenkins server cli I can run it by doing cd /var/lib/jenkins/workspace/powershell pwsh ./psscript....
0
votes
0answers
18 views

How add Dependencies without DEP?

I did create go project. I did test on local developer PC: all did work. Did upload src to GitLab. After I did want to create CI_CD (gitlab/Jenkins/Artifactory) with putting on target server. Go App ...
1
vote
1answer
42 views

Jenkins hangs on Windows CMD build that has GUI

I am attempting to automate imports and exports of Oracle's PeopleSoft Application Designer. It is a GUI program but it can operate in the windows command line for certain tasks. This project has ...
1
vote
0answers
59 views

jenkins fatal: ambiguous argument, unknown revision or path not in the working tree

In jenkins pipeline, execute git command : git log --format=%B --no-merges origin/master..origin/${currentBranch} jenkins output error : fatal: ambiguous argument 'origin/master..origin/XOPS-...
0
votes
1answer
29 views

Advice needed - automate everything or only new/current projects

I watched Klaus Ita Keynote on FreeCodeCamp YouTube channel about devops and got inspired. In previous job we had very good deployment system. We begun with Jenkins and pulling source from SVN, and ...
1
vote
0answers
31 views

Stuck! using docker cloud from jenkins running on local osx docker

Hopefully someone can help, I've found lots of information online but as I'm brand new to both jenkins and docker, I'm having a hard time sorting out which suggested solutions happen on the what ...
1
vote
1answer
39 views

Should I run CI on merge state or HEAD of branch in a PR?

I'm using Jenkins Pipeline with Github for our CI purposes and I'm trying to think what the strategy should be for what is checked out to run. Jenkins provides three options when discovering pull ...
3
votes
0answers
36 views

Force Jenkins to reschedule parallel pipeline step as soon as node goes offline

Exactly this. In our environment, we're using GCE preemptible nodes and the Jenkins GCE plugin. As a consequence of this, it's highly likely (even expected) that a node will go away during the course ...
0
votes
2answers
189 views

Passing a jenkins credential (global) to a python script

I have a global jenkins credential and a config script that includes the line API_TOKEN = "Token XXX" For security reasons we can't keep the token in the script itself as its in version control. Is ...
0
votes
0answers
11 views

Alternating VC branches to build deployment artifacts for different environments

First of all, I apologize for the lengthy title -- by all means change it if you can think of a briefer one. We use Jenkins for CI. The app is written in Java, built with Maven (invoked manually in ...
0
votes
1answer
184 views

Jenkins shows “No changes in any of the builds.”

Description Jenkins job was made and configured to build release branch which already existed and had changes on it before first build. Job also monitors for push on BitBucket and starts building if ...
0
votes
1answer
28 views

Jenkins “internal” pipeline script producing errors when running sh steps

I've been experimenting with creating a new pipeline, using the built-in pipeline editor (i.e. not from SCM). The strange bit is that, when I run any sh step, I receive the following error: sh: 1: ...
0
votes
1answer
148 views

Triggering specific pipeline builds for monorepos in Jenkins

I'm in the process of converting multiple repositories into a single repository, our CI tool of choice is Jenkins due to the conversion of multiple repository structures into a single one 2 main ...
0
votes
0answers
30 views

Jenkins in Docker: How to manage project dependencies in an immutable server pattern implementation

I am planning to run Jenkins in a Docker environment, as part of a more complex SDLC pipeline. The expected benefits of running Jenkins in this environment is to have a canonical environment (...
0
votes
0answers
30 views

The right way to perform a full backup to Jenkins (ubuntu) [duplicate]

For a long time I was looking for a way to make a full backup to Jenkins. It's ok to backup only the root Jenkins folder in /var/lib/jenkins ? Thanks, Vigoo
0
votes
0answers
76 views

How to revert the Jenkins setup if plugin/Jenkins updates went wrong.

I would like to upgrade my Jenkins version(From 2.60.2 to 2.121.1) and some of my plugins. Currently, there are some jobs configured in it. I know there are some configuration changes needed for jobs ...
1
vote
0answers
37 views

Monitor Jenkins node/slave health

For a project i'm working on we need to create a Jenkins node in an AWS environment. For this we will work with the docker image which is available on https://github.com/jenkinsci/docker-ssh-slave ...
1
vote
1answer
44 views

Trigger a job and get the job log on the same page in Jenkins

I would like to trigger the job in Jenkins and also get the log on the same page. E.g. Kind of IDE where we can run the code in one side and get the output on the other side. Are there any tools ...
0
votes
1answer
63 views

Jenkins fails to start after a restart with “hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException”

A week ago I had to restart our Jenkins, I did so via "jenkins url"/restart At first it was stuck on "please wait while Jenkins is restarting" for like...1.5 days, so I figured something was wrong. I ...
1
vote
1answer
48 views

How does jenkins publish over ssh store passphrases?

When I look in jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml I can see several entries, that have secretPassphrase populated with a string 44 characters long. By using hudson.util.Secret....
0
votes
0answers
28 views

How to supress the error got from httpRequest in Jenkins pipeline

I have custom pipeline file in Jenkins and I am experiencing some kind of problem with httpRequest. I am making HTTP request to some external system just to notify about the build. This request is ...
3
votes
1answer
116 views

How not to break Jenkins Pipeline when adding new parameters (declarative pipeline)

An Issue I have been struggling with is whenever I add a new parameter to a Jenkins Pipeline, the next job will not correctly get this parameter. This is especially an issue if those parameters are ...
2
votes
0answers
31 views

Jenkins: make a credential available to all users

I'd like to allow all of our organization's users to create new pipelines in Jenkins, via Blue Ocean... This requires a Github access token, meaning I have to either require each user to use their ...
3
votes
1answer
58 views

How to properly automate CM?

Lets say I have a number of tools like docker bench security, some static security scanners etc etc. Now I have lets say free ansible edition (no expenses are considered). I have lots of logs, but not ...
0
votes
2answers
36 views

Code coverage versus functional coverage

Hope this question is not to theoretical or open... 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 ...
0
votes
0answers
51 views

JenkinsX first installation with Google Cloud

who are familiar with new Jenkins-X? Here is the official website link for installation. Jenkins-x I am on OSx and I tried to install with brew command. When using this command: jx create cluster ...
0
votes
0answers
23 views

Jenkins Github Organization Metrics

I am using Jenkins with the Github Organization item option. On Jenkins with freestyle projects or others I am able to get build metrics: success, failure, date, node and so forth. On the Github ...
0
votes
2answers
244 views

Where should we keep application properties file while doing build promotion using Jenkins?

We are using spring boot to develop Java backend services. application.properties file has the database configurations. We are deploying in 4 different environments (dev, test, UAT, and production). ...
0
votes
0answers
50 views

How to use armv7 for docker cross build with qemu

I am building a docker image for armv7(armhf) architecture (raspberry-pi 3). I am using the resin/rpi-raspbian base image. This all works well on a raspberry pi 3. However I want to build this image ...
4
votes
1answer
66 views

DevOps SOX Compliance

I'm coming from the dark side, compliance, and am looking to gain better knowledge on DevOps & how to implement SOX controls on these processes. I'm hoping to build a good knowledge base in order ...
0
votes
1answer
93 views

Jenkin - Monorepository build only changed folder

My Organization is keeping only one git repository in bitbucket, that hosts multiple projects under same branch, Now I have to automate build process using Jenkin. I configured a webhooks that invoke ...