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
2 answers

jenkins cli build via ssh is disconecting after 10 minutes

I have two jenkins instances. I want job at 1st instance to invoke job at 2nd instance, wait until it ends and perform some actions (using artifacts produced by job @ 2nd) I've come up with this solution - using Jenkins CLI commands via SSH ssh -p…
tworec
  • 163
  • 2
  • 8
1
vote
0 answers

Jenkins git when repo is behind proxy

I have the current situation: In my corporate network we have a jenkins machine and we need access to the repo of a vendor. We want to use ssh keys for authenticating to the repo. The problem is that there is a proxy between us. Is there any…
dragosb
  • 171
  • 1
  • 9
1
vote
1 answer

Jenkins login using GitHub Authentication failed being administrator

I was setting up authentication mechanism for our organization jenkins, which had no security mechanism, "ananoumos" can do anything, delete jobs,build etc. I did Install github-oauth jenkins plugin In my https://github..com/ a. OAuthApplication…
sandejai
  • 131
  • 1
  • 6
1
vote
1 answer

Jenkins/GitLab: How to automatically build the latest git tag?

I want to build the latest git tag in a Jenkins pushed to a git (GitLab) repository. A web hook for tag pushes is configured and working. My current try is to setup a parametrized Jenkins job, so it lists me the tags in a git repostiory: Git…
Michael W
  • 111
  • 1
  • 3
1
vote
0 answers

Shutdown Jenkins slave from Master

A Jenkins 1.651 master and slave have been installed on a Windows Server 2012. I need a way to kill the slave from the master (I already have a job that start the slave). Could you please give me any advice on the best way to proceed?
Sim1
  • 113
  • 1
  • 8
1
vote
1 answer

Run a aws command using Jenkins

I set up a Jenkins job to run an aws command. When I execute the build, it fails and the error message is: + /usr/local/aws/bin/aws elasticbeanstalk describe-environments /tmp/hudson3332739386589747399.sh: 2: /tmp/hudson3332739386589747399.sh:…
Ahmed
  • 23
  • 4
1
vote
0 answers

Can I allow configure Jenkins to use LDAP authentication while still allowing company github accounts to make commits?

We are running Jenkins CI as a critical application in our organisation. I've recently set up an openLDAP server and I am looking to migrate all of our applications to this over time. The LDAP configuration for Jenkins works perfectly well in…
shaneoh
  • 414
  • 3
  • 7
  • 19
1
vote
1 answer

LDAP host changed. Can no longer login to Jenkins to reconfigure

I set up Jenkins with LDAP sign in. Everything worked fine. Now our IT department changed the LDAP host address, and therefore I can no longer sign in to Jenkins in order to change the LDAP host address. What to do?
Abdull
  • 187
  • 1
  • 14
1
vote
1 answer

Setting nginx to forward links (and images) correctly

First let me note that I've seen this question here before, but never with an answer that actually works. Here is the issue: I have a Jenkins server running on 8080 (Ubuntu 14.04). I'm trying to port it to [domain]/ci/. While this is fairly simple…
donald
  • 233
  • 3
  • 10
1
vote
0 answers

Cannot connect with slave from Jenkins master. Connection broken

I have setup one Jenkins Master (CentOS 7), and one node on which my project is running (dev environment, Windows 7). My project requirement is Java 1.6. On my Windows 7 and Java 1.7 machine, I can connect with manage jenkins -> mng node. When I run…
user334998
  • 11
  • 1
  • 2
1
vote
1 answer

Project based authorization configure Build execute shell

In one of the jobs in jenkins, I as the adminstrator have enabled project based security and added few names who could configure this job. However, I want to let these people configure only the Execute Shell under Build and the rest of it should be…
infoclogged
  • 113
  • 5
1
vote
0 answers

High IO wait times on DigitalOcean VM

I've had a DigitalOcean VM running Jenkins without any problems for the past year-ish. This week suddenly problems started happening. It started with that one day I noticed some apt related process (apt-check I think) had hung at 100% CPU usage. I…
pqvst
  • 141
  • 5
1
vote
1 answer

Jenkins build fails with OOM: unable to create new native thread

I am setting up a jenkins instance on a VServer with 2GB RAM and nothing else running (usage < 200MB) running CentOS 6.7. When starting a jenkins build on said instance, I always get this error when jenkins runs gradle --debug --stacktrace…
reggaemuffin
  • 113
  • 1
  • 6
1
vote
1 answer

Jenkins: use ssh-agent and git plugins together

So, I have the following situation: a server with dedicated users for each project (e.g. foo) and a jenkins server which runs as a jenkins user. I've generated an SSH key pair for my foo user and added the public one as a deploy key to a github…
Creynders
  • 153
  • 2
  • 7
1
vote
1 answer

Gerrit Jenkins trigger plugin

According to this site: https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger and section Trigger Configuration with subsection Comment Added i'm a little confused, because seems like trigger after added comment doesn't work. I've trried to add…