Questions tagged [jenkins]

Jenkins is an extendable open source continuous integration server

It is built in Java and has many plugins to support,build and test projects.

More info on the official website.

654 questions
1
vote
0 answers

Jenkins (and other apps) user authentication in a K8s cluster

I have Jenkins running in a pod, in an on-prem Kubernetes cluster. My company uses AD, and my Jenkins instance outside the cluster (I'm migrating from this to the cluster instance) uses LDAP for authentication. The cluster is running an nginx…
Mike Rysanek
  • 174
  • 1
  • 8
1
vote
1 answer

git clone hangs during clone when using sshpass

Has anyone found sshpass works to set a phassphrase for ssh or git clones? I have a github repo with a deploy key and a passphrase This results in prompt for passphrase as expected and clone upon manual key-in of it git clone…
Eva Brigid
  • 75
  • 7
1
vote
1 answer

In Jenkins pipeline, using Groovy DSL, how do I spin up a Docker image in the background?

We had a Jenkins build system, using the Groovy DSL, that worked well for us. But then we recently hired a new developer who is supposed to be very good. He decided to rewrite the way our tests work. We are now trying to make our build process…
JeffGallant
  • 113
  • 1
  • 4
1
vote
2 answers

Jenkins PWAuth doesn't work after process restart

I am running Jenkins (currently v2.134, always up to date from Jenkins Debian/Ubuntu repo) on a Ubuntu 18.04 server. It is configured to use the pwauth plugin for authentication against system accounts. Here is the configuration section for the…
Moshe Katz
  • 3,112
  • 5
  • 28
  • 43
1
vote
3 answers

Access a linux server without being on the sudoers file

I have my Jenkins installed on a windows server and I have created a Jenkins user on the server now I need to push the WAR files to my Linux server to a particular user root (myrootuser) who is there in the sudoers file. I have access to this server…
1
vote
1 answer

leader_only is not working in Elastic Beanstalk

We are doing CI/CD for drupal site using Jenkins. Now, we need to run drush commands which we should run only in single instance. For this, we have created elastic beanstalk config script with parameter leader_only as true but it still runs drush…
1
vote
0 answers

How to add Jenkins slave (Java web start) using CURL?

I was able to create a bash script to use Curl (doCreateItem) to create SSH slave which would show up in Jenkins ---> Nodes without a problem, My question is how to create slave with Java Web start launch method, Or at least a way to change the…
Automation
  • 11
  • 2
1
vote
0 answers

jenkins on Ubuntu 14.04 and rael-gc RVM repo - bundle not found?

I'm trying to get jenkins running on a worker node for testing some Rails projects on Ubuntu 14.04. I've installed RVM per these docs. When I launch a build from the Jenkins "master", the console output from the node build produces the output below.…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
1
vote
0 answers

Ensure a Jenkins job runs once on or after the specified cron time - even if Jenkins were not running at the specified cron time

I have two things which are not immediately compatible: The old stuff: Several Jenkins Build-server jobs that must be performed, once or several times daily, currently configured with the cron to trigger at specific times. These jobs sometimes run…
fsteff
  • 161
  • 8
1
vote
1 answer

installation of Jenkins requires Java8 or later, but you are running 1.7.0

Since 2017, Jenkins dropped support for Java 7 and nowadays, using Java 8. I'm trying to install Jenkins on a Debian Jessie (docker container), and I'm using the following procedure obtained via this link: wget -q -O -…
ivanleoncz
  • 1,643
  • 6
  • 19
  • 32
1
vote
1 answer

Jenkins Allow user to select node

I have some requirement where I have 2 nodes in jenkins say devl prod In some situation i need user to select from dropdown or type as string the node name on which that job will run but its not taking user input in "Restrict where this project…
user1427944
  • 111
  • 3
1
vote
0 answers

How do I set up HAProxy Behind Cloudfront for Jenkins

Ok the network so far is end user (https)-> cloudfront (http)-> haproxy (http)-> jenkins My jenkins install mostly works but I see the error about proxy not being set up correctly, and I experience…
xenoterracide
  • 1,496
  • 2
  • 13
  • 26
1
vote
1 answer

Jenkins Pipeline SCM Push Config

I have a Jenkins Pipeline configuration using a Jenkinsfile. I want to leverage Github web hooks, but the only option appears to be periodically polling Github in the "Scan Repository Triggers" section. The help text says "Push notification may be…
JJ Zabkar
  • 135
  • 1
  • 6
1
vote
1 answer

Jenkins: Publish Over SSH to multiple hosts without copy/paste

I'm using Jenkins' Publish Over SSH Plugin to transfer the same set of files to a group of hosts and then run a small script there. Using the "add server" feature however requires me to repeat source files, remote directory and exec command for…
Christian
  • 61
  • 1
  • 4
1
vote
1 answer

Packer with ansible from local works but from another server ask for root permissions

For a bit of context, I'm using packer with an ansible provisioner to create AMI images on AWS. The relevant parts of the packer and ansible: packer.json "provisioners": [{ "type": "shell", "inline": [ "sleep 15", "sudo apt-get update", …
fmartingr
  • 13
  • 4