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 behind proxy - illegal character in proxy url

I'm running Jenkins behind corporate proxy. My proxy password contains special characters something like 'P@ssw0rd'. Getting below exception while building pipeline Started by user unknown or anonymous java.net.URISyntaxException: Illegal…
Naveen
  • 61
  • 7
1
vote
1 answer

How to configure Jenkins Job to use Bitbucket Repository Access Key when cloning repo?

In one of my bitbucket repositories on a Bitbucket server instance, I've configured an Access Key and would like to use this access key within a Jenkins Job to clone said repository. However, there doesn't seem to be a credential provider for this…
Eric
  • 113
  • 1
  • 4
1
vote
0 answers

How to trigger build on multiple servers

I have written a pipeline script using stages, using each stage to deploy code to each server from my nexus. If I grow to 100 servers, I can not write such a number of stages. So need to minimize to single stage and to deploy the code on all servers…
sneha
  • 11
  • 1
1
vote
0 answers

Jenkins: Docker plugin, "All nodes of label [...] are offline"

I got a Photon OS server running, where I'd like to create and use containers as jenkins nodes (Docker plugin). During the job I get "All nodes of label [...] are offline" although multiple containers are created and later deleted. Since the docker…
smelm
  • 111
  • 5
1
vote
0 answers

Selenium WebDriverException: Message: address not available, when running Django test on jenkins server

I have running docker an AWS EC2 instance. Using docker-compose, I have jenkins running in one container. I have a jenkins pipeline which checks out my repo ( which is a Djano application, with a docker file ). My pipeline then builds the docker…
ched
  • 11
  • 2
1
vote
1 answer

script run through jenkins user gets killed

In our jenkins build configuration we have the following shell commands (Execute shell) as the last step of our build process. echo "$USER" echo "Script executed from: ${PWD}" git submodule update --init --recursive if [ -f composer.json ]; then …
user3360140
  • 281
  • 1
  • 4
  • 14
1
vote
0 answers

Jenkins, http management from docker

I have problems with jenkins-cli and I think I need help for debugging. My Jenkins installation runs from Docker, and I want to interact with it from within a different docker instance (so there's a jenkins/jenkins:lts docker instance and a…
banyek
  • 399
  • 1
  • 10
1
vote
0 answers

Why are psql commands in my script suddenly being killed by jenkins / hudson?

I have an existing jenkins job that kicks off a shell script to copy my prod environment into qa. We added a lot of data to prod (gzip dump went from 2gig to 15gig) and all of the sudden my jenkins jobs started failing. We are running postgres 9.5…
Ted
  • 11
  • 1
1
vote
0 answers

EC2 Plugin using Spot Instances fails - Creates zombies, Instable

Jenkins ver. 2.150.3 Ubuntu 18.04 Host Amazon EC2 plugin 1.42 Hey. The plugin works perfectly without Spot instances! I've tried to use the Amazon EC2 plugin with Spot Instances ( m5d.12xlarge ). The AMI image was configured correctly as of…
1
vote
2 answers

Jenkins says my reverse proxy setup is broken: but there is no proxy

This errormessage is preventing me from updating Jenkins Jenkins says my reverse proxy setup is broken and: Failed to resolve host name updates.jenkins.io. Perhaps you need to configure HTTP proxy? java.net.UnknownHostException:…
Cutton Eye
  • 343
  • 4
  • 14
1
vote
1 answer

Jenkins Pipeline: Using Env Var in another Env Var declaration

I would like to make my long "ssh" command reusable as a simple variable throughout my pipeline. To do this, it would be nice to declare my hostname in a var, then use that var in another var declaration to build the final command: environment { …
emmdee
  • 2,187
  • 12
  • 36
  • 60
1
vote
1 answer

unable to access Jenkins installed on ubuntu 18.10, browser says " xxxxx took too long to respond"

a question from a beginner. I have just installed Jenkins on: Ubuntu 18.10 minimal - google cloud Platform Java 8 installed UFW configured to allow traffic on port 80 from anywhere when accessing it from the client computer browser through the…
1
vote
1 answer

Jenkins folder propery: Is it possible to use a folder defined property on SCM section?

I have a bulk of Jenkins jobs for each release we issue. I want to be able to easily define a new release, and was happy to find Folder properties Pluging I defined a folder property for the version: After that I defined a try job, which use the…
hagits
  • 111
  • 1
  • 4
1
vote
2 answers

Jenkins behind nginx reverse proxy in subdirectory

I am struggling setting up Jenkins in a subdirectory behind nginx. There are 2 apps running on localhost. One of those is jenkins, which should be accessible by visiting foo.com/jenkins. The other app is on foo.com/. The requests to jenkins must not…
user2366975
  • 159
  • 2
  • 5
1
vote
1 answer

Jenkins - environment variable not setting up from pipeline

Here is my script. Im trying to set up variables in pipline shell script: node { anyconnect = docker.image('anyconnect:1').run("--cap-add NET_ADMIN --cap-add SYS_ADMIN --device /dev/net/tun:/dev/net/tun -e VPN_USER=${env.USER} -e…
user3069488
  • 169
  • 2
  • 4
  • 19