Jenkins is an extendable open source continuous integration server

learn more… | top users | synonyms

-1
votes
1answer
19 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
7 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 ...
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 ...
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
7 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
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 ...
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 ...
0
votes
2answers
35 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
40k 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 ...
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 ...
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
36 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 ...
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
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
59 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 ...
0
votes
0answers
15 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 ...
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 ...
1
vote
0answers
18 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 ...
0
votes
1answer
36 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
161 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 ...
5
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

Update a custom variable and access it from another Jenkins job [migrated]

I have a jenkins job that is called apps-web-server and this job needs to access a value from another job. On the other job, I need to write this value somewhere preferably a Jenkins variable. ...
0
votes
0answers
56 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
45k 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
58 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
21 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 ...
0
votes
1answer
74 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: ...
1
vote
0answers
54 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 \ ...
1
vote
2answers
364 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
34 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
31 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
21 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 ...
1
vote
2answers
139 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
117 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 ...
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 ...
-1
votes
1answer
94 views

Jenkins execute shell scp

I have a Jenkins build where I am trying to copy a war file from one vm to another. I want to do this using scp. I've tried running this in the shell outside of Jenkins and everything works fine. ...
0
votes
1answer
25 views

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

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

Idle Jenkins takes up approx 700 MB of RAM

I just did a fresh install of jenkins master on a private virtual server having 1 GB of RAM. I have not yet installed anything else besides Jenkins on that server. I reduced the number of executors to ...
0
votes
0answers
82 views

how do it get the last successful build in a jenkins post deployment step?

How do it get the last successful build parameters in a Jenkins post-deployment step using groovy or any other method? Specifically i am trying to send an email with the version number of the last ...
0
votes
1answer
18 views

Use SSH to auth jenkins CLI with unix auth

I've setup jenkins to use unix auth, with works just fine with passwords. Is it possible to use ssh auth for the cli too? ssh jenkins@localhost works just fine, but java -jar ...
7
votes
2answers
8k views

Correct Apache reverse proxy config with SSL for Jenkins and Sonar

I am running two services behind an Apache server: Jenkins (Port 8080) and SonarQube (Port 9000). My apache config looks like this: <VirtualHost *:80> ServerName server Redirect permanent ...
0
votes
0answers
168 views

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 ...
2
votes
1answer
17 views

Something for Icinga like sensu-metrics-relay

I used to work with Sensu and I was using a plugin called sensu-metrics-relay so I could easily forward some metrics collected using a jenkins plugin called "Metrics Plugin" to graphite. Now I am ...
-1
votes
1answer
57 views

Jenkins is not reachable if using prefix

I am currently experiencing the problem that Jenkins is not reachable if I start it with a prefix. The prefix is necessary to get Jenkins available under myurl.de/jenkins (instead of myurl.de:8101). ...
3
votes
3answers
849 views

Integrate Amazon Elastic Container Registry with Jenkins

I'm trying to integrate Amazon's new Elastic Container Registry (ECR) with my Jenkins build service. I'm using the Cloudbees Docker Build & Publish plugin to build container images and publish ...
7
votes
2answers
16k views

Jenkins: Accessed denied after turning on global security. How to revert?

Need help figuring this one out. How can I fix this issue? I think I enabled global security and saw this error immediately. (while accessing localhost:8080 I get the following...) A problem ...