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
3
votes
1 answer

Per-job environments in Jenkins with virtualenv

I'm trying to use virtualenv to programmatically manage Python environments for each job on a Jenkins server, implemented via a Shared Library extension to activate environments on a per job basis. E.g.: /vars/activateEnvironment.groovy: def…
cwh
  • 63
  • 1
  • 9
3
votes
1 answer

Jenkins Not to Starting After Update

I have a Jenkins instance (running on Ubuntu 16.04.3) that I've kept more or less up to date over the last couple of years. Today I tried updating via aptitude (apt-get dist-upgrade) only to get this…
pnovotnak
  • 260
  • 4
  • 11
3
votes
1 answer

Jenkins - Host key verification failed

While I have no problems making an SSH connection from one server to another, my Jenkins is still having a trouble connecting to the remote server while executing a managed script, which is as follows. $ssh root@xxx.xxx.xxx.xxx And the following is…
marshallslee
  • 147
  • 1
  • 3
  • 6
3
votes
0 answers

How to log detailed request info in Jenkins?

I'm having some trouble with a Bitbucket -> Jenkins plugin, and would like to see the exact API request that Jenkins is receiving. I figure this should be fairly easy, but haven't been able to find the correct loggers to enable. I wanted to create a…
Eric B.
  • 479
  • 1
  • 6
  • 15
3
votes
1 answer

Nexus returns error 502 (Bad Gateway) when publishing artifacts

I've just completed the installation of Sonatype Nexus 3.2.1-01 and I'm trying to publish some artifacts using a Jenkins job and the Nexus Artifact Uploader 2.9 plugin. The upload starts fine: 100 % completed (572 kB / 572 kB). But then it throws…
Tedi
  • 161
  • 1
  • 1
  • 4
3
votes
1 answer

Jenkins cannot read Github password since upgrading to Git client plugin 2.1.0

I'm currently using Jenkins 1.650 on Windows 2012 and I've upgraded a test instance of Jenkins (cloned from my production server) to 2.25. As part of this the Git Client plugin was upgraded from 1.19.6 to 2.1.0 and now it cannot authenticate. I…
shaneoh
  • 414
  • 3
  • 7
  • 19
3
votes
1 answer

Using iptables port redirection with docker

I have a Linux server running Jenkins (HTTP on port 8080) and the same server is also running Docker 1.12.1. I used some iptables rules (as per official Jenkins install docs) to redirect port 8080 to the host's port 80, so that default HTTP would…
davidA
  • 383
  • 3
  • 12
3
votes
3 answers

How to monitor Jenkins using Datadog?

The datadog plugin has been installed on Jenkins. Once installed the Datadog API key and hostname had to be entered in Jenkins. Both tests have been passed. However, when a new check has been added to Datadog querying for jenkins checks does not…
030
  • 5,901
  • 13
  • 68
  • 110
3
votes
2 answers

Jenkins build watch for new branches and build named branch

I'd like to configure a single Jenkins build ("job") which will both: watch for new branches and build them when they appear build a named branch or commit on request I can achieve (1) by setting "Branches to build" to "**" I can achieve (2) by…
Rich
  • 704
  • 14
  • 30
3
votes
1 answer

Trying to run Jenkins behind SSL reverse proxy - 404 http://localhost/jenkins/manage vs. https:

I am trying to run Jenkins behind nginx. Jenkins runs in a Docker container, listening on Port 8080 from directory /jenkins. My nginx container has this Jenkins container linked as hostname "jenkins", so in its context, Jenkins is accessible via…
rabejens
  • 173
  • 2
  • 10
3
votes
5 answers

Unable to use AWS CLI in Jenkins due to "Unable to locate credentials" error

I am using Jenkins for CI. I need to be able to pull a file from an S3 bucket. Inside the jenkins job I do the following diagnostic from the jenkins shell: cd ~ this takes me to /var/lib/jenkins whoami this returns the user jenkins inside…
Joel Joel Binks
  • 175
  • 2
  • 2
  • 8
3
votes
1 answer

Jenkins not starting in Ubuntu

I have installed jenkins, it was working fine for a while, builds were working fine. Suddenly it stopped working. There is nothing in logs I tried restarting it, no error came up in logs, but still it's not running root@localhost:/home/nilesh#…
NIlesh Sharma
  • 231
  • 1
  • 3
  • 10
3
votes
2 answers

Jenkins: Waiting for next available executor on master, 4 workers idle

I have a jenkins (initially 1.596.2, later upgraded to .3) master on Ubuntu, with some jobs. Last week i started seeing jobs being put on queue (pending—Waiting for next available executor). I checked the job config (Restrict where this project can…
user116023
  • 39
  • 1
  • 2
3
votes
1 answer

Jenkins - how can I fetch information about last successfull builds for all jobs in pipeline?

We can get the list of all jobs with their current state through this API call: /view//api/json Also, we can get data on the last completed build of any particular job: /job//lastCompletedBuild/api/json My question is -…
shabunc
  • 87
  • 1
  • 2
  • 12
3
votes
0 answers

Jenkins and Exchange Server Integration

I am interested in integrating Microsoft Exchange server and Jenkins for email notification. Instead of using SMTP approach, I want to use Exchange server webservices (Administration policies allow connection to exchange server via webservices…
CuriousMind
  • 131
  • 1
  • 3