A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [jenkins]

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.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
227 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 ...
3
votes
1answer
515 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 ...
2
votes
1answer
20 views

How to schedule a Jenkins Job dynamically based on the time value in database

I have a situation where there is a database in which a table consists of scheduled time to build. This schedule time to build may vary from day to day. Say for example, Today the entry in db is 09/...
2
votes
0answers
127 views

Jenkins error using Junit plugin: Test reports were found but none of them are new. Did LeafNodes run?

I'm trying to get our test reports (generated using google test with the xml output switch) into Jenkins, but keep getting the error message: Test reports were found but none of them are new. Did ...
2
votes
1answer
36 views

Recommended Design - Communication among Jenkins + Vault + App

Design A: CD tool communicate with Vault to fetch App secrets on its behalf Jenkins ( CD tool ) computes the Vault path according to the app/project & according to which environment the app will ...
2
votes
1answer
20 views

Commit messages from Submodules to Jenkins Change Log

I have a project with 3 submodules that are updated whenever that project is built and the project is built mainly for an installer (which is not in a submodule). Not a lot of changes are made in the ...
2
votes
0answers
219 views

JIRA plugin on jenkins not set the JIRA_ISSUES variable

I have jenkins job for with GitHub Pull Request Builder. In build, I added first step to set the JIRA_ISSUE variable. JIRA: Add related environment variables to build Extracts JIRA information for ...
2
votes
0answers
248 views

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
0answers
25 views

How do i connect docker pipeline on jenkins to kubernetes cluster

I am trying to setup a pipeline on jenkins that uses docker containers to execute tasks like for example deploy an helm charts using a docker image with helm here is what my Jenkinsfile looks like ...
1
vote
0answers
14 views

Unable to install both Bitbucket Branch Source and GitHub Branch Source plugins

So, we have projects spread across multiple git hosting platforms. Namely Bitbucket and GitHub. We will migrate them to a unified platform in the future, but we're stuck with things the way they are ...
1
vote
0answers
19 views

https - How to enable users to have secure connection with Jenkins via ELB?

Below is the cloud formation template that creates Eastic Load Balancer as public facing to jenkins(jenkins:ecs docker) running in VPC subnet: { "AWSTemplateFormatVersion": "2010-09-09", "...
1
vote
0answers
14 views

How can I modify Jenkins Configuration Global Security from linux server?

In Jenkins UI, I have the below section under http://XXXXXX:YYYY/configureSecurity/ where can I find this definition in Server (Linux RHEL)? I tried to grep for it in jenkins-production folder but ...
1
vote
2answers
25 views

Jenkins Plugin Install Failed

I am trying to set up new Jenkins. When I download Suggested Plugins OR try to install any plugin I am getting below error. I am using Jenkins Latest Version 2.204.1. I have set up this on VM. I am ...
1
vote
1answer
45 views

Is there a Jenkins plugin for downloading source code?

Although our own sources are checked out from a revision-control systems, the third-party software we depend on needs to be downloaded from their respective sites. The plugin I'm looking for would ...
1
vote
0answers
73 views

Anonymous “Agents can connect” Jenkins health check url?

I have a situation where I would like to spin up a distributed Jenkins build server with docker-compose (as part of local testing before deploying to OpenShift). Unfortunately the agents spin up, ...
1
vote
0answers
37 views

Problem with build jenkins on Docker Container with Ubuntu

I Have this Dockerfile and I want build container (based on Ubuntu) and install on him Jenkins. FROM ubuntu:18.04 RUN apt-get update RUN apt-get install -y --no-install-recommends \ gnupg2 \ vim ...
1
vote
0answers
102 views

Why does Jenkins' Amazon EC2 Plugin not terminate some VMs when they are idle for X minutes on AWS US-east-1?

| Product | Version | |:-----------|--------:| | EC2 plugin | X | | Jenkins | 2.190.1 | Looking for help troubleshooting an intermittent issue; We run an Ubuntu version of Jenkins on AWS ...
1
vote
1answer
3k views

How to execute an ansible playbook using a jenkins pipeline script?

We developed declarative pipeline code to execute an Ansible playbook. We tested the playbook from CLI and it is working properly. My playbook actually performs some shell commands on remote server. ...
0
votes
0answers
12 views

Jenkins build is success but deploy fail on tomcat

Jenkins build is success but the deploy fails on tomcat, with following output. ERROR: Step ‘Deploy war/ear to a container’ aborted due to exception: java.lang.InterruptedException: [DeployPublisher]...
0
votes
1answer
21 views

OpenShift fails to deploy jenkins - connection refused

I am using the GitHub project elio/openshift-vagrant. vagrant up and then the script oc-up.sh gives me a master and two nodes. Ansible provision runs without problems. After provision I can login to ...
0
votes
0answers
12 views

How to “killSoftly” a particular Jenkins job?

From SO: My Jenkins build hangs between build and post-build steps. The console output shows there is a 6-minute wait (but I've seen waits of up to one hour): 10:53:26 BUILD FAILED in 1m 7s 10:53:...
0
votes
1answer
22 views

Unable to run `conda activate` from Jenkins pipeline

I'm running Conda 4.6.14 on Ubuntu 16.04. I thought about using virtual environments with Conda in my Jenkins pipelines that needed Ansible, by having all nodes use the same environment, ansible-env ...
0
votes
0answers
10 views

Is it possible to run testing.xml file with different jenkins jobs using parameterizing?

I have 2 modules lets say A & B, each contain 50 testcases in my testing.xml file and that testing.xml configured in pom.xml file using A B I want to configure in Jenkins using Maven and ...
0
votes
0answers
49 views

Linux command from Jenkins using SSH

I want to run Sudo command on the Linux machine from Jenkins. Jenkins is configured on the windows server. I have set up an SSH configuration in Jenkins configuration. From logs, I found that Jenkins ...
0
votes
1answer
23 views

Secure deployments of on-prem artifacts to cloud

Right now, we have locally hosted (across multiple Datacenters) artifactory and Bitbucket. We're at a halfway point between Jenkins and Bamboo (with Jenkins beginning to make more traction against ...
0
votes
1answer
27 views

Run command from Jenkins to Linux Server

I have a HAProxy server setup in Azure Linux Machine. How can I run a HAProxy start/stop command from Jenkins to multiple Linux server?
0
votes
0answers
21 views

Jenkins - squish plugin error “could not connect to Squish server”

I am experiencing randomly the following issue when Squish tests are run on Jenkins: [...] Fri Sep 13 11:21:33 CEST 2019 Fatal Connecting to Squish server Detail: Could not connect to Squish server ...
0
votes
0answers
14 views

How to provision side containers for jenkins using ECS?

We are successfully using the Jenkins ECS plugin to run many of our builds and tests. However, we have some jobs which require unit tests using mocks, which are often implemented using docker-compose ...
0
votes
1answer
31 views

Connect external Jenkins Master to GKE with Kubernetes plugin

I find the documentation at https://github.com/jenkinsci/kubernetes-plugin quite unclear when it comes to step by step configuration of external Jenkins master. What are the exact steps that need to ...
0
votes
1answer
42 views

Is there a way to set build parameters outside of the pipeline directive?

My build parameters are defined in my jenkinsfiles All builds run on container slaves on google kubernetes engine cluster This means users need to wait for a container to start before anything ...
0
votes
1answer
58 views

How to add my own columns to Jenkin's Dashboard

I want to add my custom columns, and I also want to add some popups on those columns in Jenkins dashboard. How does one add new columns, which are not present in job's configuration page?
0
votes
0answers
45 views

Limit on Jenkins for 1. Builds per hour OR 2. Number of uploads per hour on Nexus from Jenkins

One of our group member configured a new Jenkins job and somehow it triggered every minute. This build uploads the artifacts around 250MB to Nexus, so in few hours our nexus server got full and other ...