Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

6
votes
1answer
11k views

How to manage groups and users in Jenkins

I'm trying to use role based security plugin in Jenkins, but i'm not sue i am using it right. I've decided to go with jenkin's own user database as a security realm instead of LDAP. i'm adding the ...
6
votes
1answer
2k views

ForwardAgent in Jenkins

I'm trying to enable ForwardAgent in the "Publish over SSH" Jenkins Plugin. This would allow jenkins to execute deployments, rsyncs and svn+ssh checkouts on remote servers. But there's no option for ...
0
votes
0answers
9 views

Jenkins Server - trying to run AWS cli script - getting an error

I am running a Jenkins server on Windows server with AWS CLI installed. while trying to run a script through Jenkins job i get the following error: "You must specify a region. You can also configure ...
0
votes
3answers
3k views

Running a command through a tty without commenting out “requiretty”

I'm running the latest version of Jenkins on CentOS. In my Jenkins job, I can run post build steps, and included this command, sudo /bin/rm /usr/java/jboss/server/default/deploy/myclient-1.0.war ...
0
votes
2answers
15 views

Jenkins for windows need java installed on system?

I am in the process of configuring jenkins on server. There is no Java installed on server. From the link, I understood that Jenkins windows installer will install JRE so that no need of external java ...
0
votes
1answer
24 views

Jenkins is hanging with no errors during startup

So, I've tried doing my research on this issue but it's gotten to the point where I'm no longer understanding what I'm reading (looking at bug reports and mailing lists). I've installed Jenkins and ...
2
votes
2answers
1k views

Make Jenkins use a subdomain without 8080 port behind apache2

I’m failing at redirecting my Jenkins to use my subdomain (build.core-network.us) and not require :8080 port slapped behind it. I’m on Debian Wheezy. I use Apache (proxy and proxy_http are installed)...
2
votes
1answer
1k views

Configure Jenkins with LDAP : parameter 'Root DN'

I am installing an LDAP server and configuring Jenkins in order to accept LDAP for authentication. In Jenkins parameters, I have a weird behavior with the parameter Root DN. Documentation says : ...
2
votes
2answers
37 views

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 ...
0
votes
0answers
19 views

VBOX_E_FILE_ERROR during vagrant destroy

(Interesting that I got a pop-up message relating to virtualbox being off topic. After reading: In what circumstances should VirtualBox questions be on topic? I decided to post my question here.) ...
0
votes
0answers
16 views

Deploying builds from Jenkins Slave

we are trying to get set up to use group instance of Jenkins. Both Jenkins Master and Slaves are cloud hosted. Once the build is completed on the slave we need to deploy it to a development server in ...
0
votes
0answers
7 views

Jenkins raising mantisbt issues

I have set up mantis with the mantis plugin to raise issues if a build fails. Now, the build have been failing for a few days (don't ask!) but a new issue is opened every day. How can I set the ...
0
votes
3answers
2k views

Jenkins has no list of available plugins / can't update

I just installed Jenkins 1.575 on Ubuntu 12.04LTS. When I go to the plugins section to add plugins, nothing shows up. If I go to Advanced and click check now, it just hangs at Updating.... I am ...
1
vote
2answers
1k views

Why is Jenkins not pulling in a browser?

I installed Jenkins on my debian server. It is set on port 8080 and when I try connecting to it nothing happens. I know it is running because when I do: root@jini01:/etc/default# /etc/init.d/jenkins ...
0
votes
0answers
21 views

Publish docker images to AWS ECR from Jenkins

Following this discussion- Integrate Amazon Elastic Container Registry with Jenkins, After publishing my image to ECR from Jenkins using a shell script, it works- but another image with empty tag ...
0
votes
1answer
3k views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from apache....
2
votes
1answer
1k views

Jenkins publish over ssh success to connect the server but failed put file

I have a problem that when I do build to my job, its cannot put my file on the server directory in console output i get the message "ERROR: Exception when publishing, exception message [Permission ...
1
vote
1answer
1k views

Running jenkins as a different user

I followed http://blog.manula.org/2013/03/running-jenkins-under-different-user-in.html to run Jenkins under my own user account, because its default system user doesn't have permission to clone from ...
3
votes
1answer
44 views

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 "...
0
votes
0answers
11 views

Allow anonymous users to view only Build Monitor on Jenkins

We are using Jenkins with SAML authentication which requires all users to be logged-in to view anything. I was wondering if there's any to just open up the Build Monitor views to anonymous users. ...
-1
votes
1answer
35 views

Deployment to Azure using Jenkins and github

I need to deploy code from github to Azure. i have configured jobs to perform test on the script and based on the result i want to deploy those script in Azure. I need help on what jenkins plugin to ...
0
votes
0answers
25 views

github-webhook not triggering a job because pipeline doesn't have a matching repository

I have setup a github webhook and also setup logs on the github plugin in jenkins. Jenkins seems to receive correct payload on the webhook. However the log says that github webhook considered poking ...
0
votes
2answers
1k views

Jenkins unreachable at port 8080

I'm setting up Jenkins for the first time. HTTP ERROR: 503 Problem accessing /. Reason: Service Unavailable I turned off firewalld. The jenkins came from the official jenkins yum repo. java ...
0
votes
0answers
13 views

Integrate NVM with Maven

I am using NVM to manage my versions of NodeJS. I am trying to integrate it with Maven in a Jenkins job. The following script is executed before Maven runs. I don't think there is a way to pass in ...
0
votes
2answers
53 views

Unable to restart IIS Website from Other Server

We are using Jenkins as our Continous Integration Server. One of our project requires restarting IIS website on other Server. We can use "cd %windir%\system32\inetsrv appcmd stop site /site.name:xyz" ...
25
votes
4answers
42k views

How to use Jenkins with SSL / https

I have a Fedora server running Jenkins which I install via yum. Everything is okay, I can access it with http://ci.mydomain.com. But now, I want to access it with https://ci.mydomain.com so the login ...
15
votes
2answers
7k views

How can I get Jenkins to stop listening for remote connections?

I have Jenkins sitting behind Nginx, with Nginx taking care of authentication, but Jenkins is still listening on port 8080 externally, so by accessing the box on port 8080 people can bypass Nginx. ...
0
votes
0answers
80 views

Jenkins 2.x disable initial admin setup

we're using Jenkins as a cron server adding/starting crons via api. We created a vagrant box installing the jenkins. Since version 2.0 jenkins require to create an admin account (link) before disable ...
0
votes
2answers
2k views

Setting jenkins CI behind apache

I am trying to set-up jenkins behind apache2 (Both fresh install with the package manager) OS used : ubuntu 12.04 LTS Actually I am setting up a couple services behind this Apache. First is ...
0
votes
1answer
104 views

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 ...
1
vote
2answers
1k views

how to use bitsadmin.exe (Windows) download file from authenticated Jenkins server

I am aware of using following command to download files from Jenkins server if the workspace is anonymous access: bitsadmin.exe /transfer replica /priority FOREGROUND http://1.1.1.1:8080/job/...
0
votes
0answers
33 views

Link a JIRA cloud with local bitbucket server + jenkins

We would like to have an online "JIRA Cloud" account, linked to a local "on server" Bitbucket install. Our IT will not open any port TO bitbucket(but is ok, to allow bitbucket communicate to JIRA ...
1
vote
0answers
24 views

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 ...
1
vote
1answer
106 views

Allowing a non-root user to restart a service

Background : I created an app called myapp with Spring-boot. It consists of a self-executable jar and is compatible with systemd services. Now, I am trying to integrate it with jenkins. What I want: ...
4
votes
1answer
270 views

Jenkins Slave goes offline during the build

A Jenkins 1.651 master and slave have been installed on a Windows Server 2012. The slave is dedicated to run Selenium tests, but most of the time it goes offline: Build step 'Execute Windows batch ...
2
votes
0answers
14 views

Running Jenkins Slaves on old operating systems

I have a (quite old) Jenkins installation that I'd like to upgrade. Unfortunately, some jobs require to be built on an old operating system which cannot run Java 7 and hence cannot run the slave.jar ...
0
votes
0answers
108 views

Why Docker resets connection upon pushing an image to a private registry?

We have a Docker private registry, listening on a non-default port (specified in our docker run command). However, our attempts to push an image (either pre-built, or built via Jenkins) fail with an ...
15
votes
7answers
48k views

How to check the build status of a Jenkins build from the command line?

How to check the Jenkins build status without switching to the browser? If required I need to create a script using the JSON API, but I was wondering if there is already something like this built in.
0
votes
0answers
112 views

Ssh into a remote machine and execute a script using “expect”

I have a script named serverbounce.sh on server A. However, my Hudson home is on a server B. I want to execute my script serverbounce.sh on server A itself.For this performed the following: a. Created ...
1
vote
1answer
32 views

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/...
0
votes
1answer
109 views

MSDeploy with Jenkins

So I'm setting up a Jenkins job that will build and deploy an application that I have. Building it is easy, but I'm having issues deploying it. Here is my build command: "C:\Windows\Microsoft.NET\...
1
vote
0answers
76 views

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 ...
2
votes
2answers
3k views

Jenkins and HTTPS: Cannot connect to server

We have a Subversion repository located on an https connection. I am able to connect to it locally (no proxy needed): $ svn ls --username=qazwart --password=swordfish \ https://svn.corpwad.com/...
1
vote
2answers
383 views

How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)

TL;DR -- How do I give ws_ant.sh and/or the <wsInstallApp> task more heap at runtime? I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux ...
0
votes
0answers
37 views

Restart service from non-admin user

I write my C++ program and run it as daemon by writing upstart script inside /etc/init/ So my program is automatically started after reboot and can be controlled using sudo service my-service restart ...
0
votes
0answers
36 views

Jenkins: Build all commits triggered by push

How can I make Jenkins build all new commits (not just the latest) when there is a push? Note: The push is the trigger for the Job
0
votes
0answers
22 views

Jenkins configure from command line?

Is it possible to setup a Jenkins from command line in more detail? So far I just install Jenkins and Plugins wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins....
1
vote
2answers
264 views

Jenkins : Python script with arguments

Note: Never used jenkins before I have a python script that takes in 3 arguments to run. Via a terminal you would use it like this: python script.py arg1 arg2 arg3 I want to create a new jenkins ...
2
votes
1answer
176 views

How to use automatic Restart with Jenkins on Systemd

I have Jenkins running on a CentOS7 and it kind of crashes from time to time and I'd like to restart it automatically when this happens. Googleing a bit I've found that on Systemd you can use Restart=...
1
vote
2answers
9k views

There is a time and/or date difference between the client and server

I am running a Build Job using Jenkins. The Jenkins job executes a command shown below that simply copies a test file from server A to server B. Jenkins resides on Server A and well as the command ...