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

Jenkins (Windows Service) with Git over SSH

I'm having a hard time configuring Jenkins, running as a Windows Service, to connect to a git server (gitosis) and clone a repository. Jenkins is set to use the standard Git plugin. Everything is hosted by us: the Jenkins server is on win.foo.com…
Phillip B Oldham
  • 1,026
  • 5
  • 15
  • 24
3
votes
1 answer

Deploying to Tomcat root using Jenkins

Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins? Currently the app gets deployed at http://server/foo/ if it comes in a file named foo.war.
Jonik
  • 2,961
  • 4
  • 38
  • 48
3
votes
3 answers

Jenkins/Hudson - LDAP group *lookup* does not work

I'm trying to get Jenkins to authenticate users via our active directory groups. If I insert users they are correctly looked up. If I insert group names, they are not found. Edit: Through trial & error I have found out that the authentication via…
Martin
  • 589
  • 4
  • 10
  • 27
3
votes
1 answer

GUI Tests in Hudson (Jenkins) on Windows

I will try to keep this question simple. I've done much research on the topic, and haven't found any solution. GUI Tests fail when doing maven builds on Hudson (Jenkins). Hudson is running as a service, logged on as Local System. I have enabled…
JT703
  • 158
  • 1
  • 4
3
votes
1 answer

Jenkins/Hudson Can we monitor realtime result of external job from Console output?

I have some external jobs need to be monitoring from central Jenkins/Hudson server. Jenkins/Hudson just send job output after it finish. Some jobs run in very long time and we aren't sure it is running or failing to the end of process. How can I…
olragon
  • 35
  • 5
3
votes
2 answers

Jenkins refuses to start - unknown argument --ajp13Port=-1

My jenkins installation on Debian was upgraded (using apt) - and now jenkins refuses to start. I can see the following in the log: Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized option: --ajp13Port=-1 My jenkins…
Aleks G
  • 936
  • 2
  • 8
  • 18
3
votes
0 answers

Is there a way to configure Bitbucket to show compiler warnings in PRs?

A common problem we have at work is people committing code without having noticed that they're increasing the number of compiler warnings. The ultimate goal is to make warnings errors, but until the count gets to zero, there's no clean way to do…
Hakanai
  • 131
  • 4
3
votes
1 answer

Where is Jenkins CLI .jar file stored on the server?

I am using the Jenkins CLI in a script for some Jenkins automation (https://www.jenkins.io/doc/book/managing/cli/). According to the docs, you have to first download the .jar from the Jenkins host. Currently I am doing this by running wget…
Rino Bino
  • 511
  • 5
  • 21
3
votes
3 answers

Installing Jenkins on Ubuntu tells me "Package 'jenkins' has no installation candidate"

I need to install Jenkins on Ubuntu 20.4.1. I've completed the following: apt-get -y install openjdk-8-jdk (it's Java 14.0.1) wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | apt-key add - (responds "OK") sudo sh -c 'echo…
Edward Tanguay
  • 1,209
  • 4
  • 22
  • 31
3
votes
1 answer

Stash and Unstash in jenkins declarative pipeline

pipeline{ agent none stages{ stage('Git checkout'){ agent { label 'master' } steps{ stash includes: '/root/hello-world/*', name: 'mysrc' } } stage('maven…
iamarunk
  • 103
  • 2
  • 2
  • 4
2
votes
0 answers

Can't reach own host URL from within Jenkins build docker environment

I am running Jenkins as Docker image (https://hub.docker.com/_/jenkins) From within, I run a node-12 docker image as build container. I am running a script to publish the new version to our local app store, which runs on the same VServer. So now the…
2
votes
1 answer

Is there a way to get the status of the last 3 builds of a jenkins job?

Am trying to monitor jenkins builds for a deployment job but i need to get only the notifications only when the build fails 3 times in row. Any ideas how to implement this ?
melfors
  • 21
  • 1
  • 3
2
votes
1 answer

How to publish a Confluence(Cloud) Page in Jenkins

I'd like to publish a web page to Confluence(Cloud) using Jenkins pipeline. I used Jenkins Confluence Plugin, it didn't work. When I set my confluence page url(https://yourDomain.atlassian.net/wiki/) and username and password in the global…
Yang Wei
  • 41
  • 1
  • 6
2
votes
0 answers

shell request failed on channel 0 putty

I'm trying to pull from bitbucket through Jenkins in our AWS windows server. Jenkins is using the System User so I need to accept the host key in order for it to work because Jenkins doesn't provide user input for me to enter yes. I used psexec…
2
votes
1 answer

Jenkins Pipeline Syntax: Quoting Pains When Using Multiple Quote Blocks

I have kind of a weird setup that I need to run a command as a docker container in a sh block in a Jenkinsfile. Issue that I'm facing is specifically around the awk command used to trim the output. Here is the command that WORKS FINE when ran…
emmdee
  • 2,187
  • 12
  • 36
  • 60