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
0
votes
0 answers

gcloud container clusters get-credentials is randomly failing

I use Jenkins running with the official helm chart, spawning kubernetes pods on GKE, and I have the following part in my Jenkinsfile: ... withCredentials([file(credentialsId: "${project}", variable: 'key')])…
0
votes
0 answers

Cannot start Jenkins with https

Jenkins instance starts just fine if I run a start script with the following parameters: HTTP_PORT=8180 AJP_PORT=8109 nohup nice $JAVA -jar $WAR --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT >> $LOG 2>> $ERR & However, after enabling SSL with a…
postoronnim
  • 115
  • 5
0
votes
1 answer

Display and edit file through jenkins

I have some json and python configuration files in my aws environment which needs to be edited or modified on a daily basis. My intention is to write a job in jenkins which can pull the current file from the server and use an editor to make the…
0
votes
1 answer

jenkins multiproject environment fails running same code as regular job

here are the contents of the Jenkinsfile: node { git branch: '$BRANCH_NAME', credentialsId: 'IDIDID', url: 'git@bitbucket.org:SOMEPLACE.git' sh '''printenv ls pwd cd somedir virtualenv tmp source tmp/bin/activate pip install -e . pip install…
Gil Zellner
  • 183
  • 1
  • 8
0
votes
1 answer

Not able to run XCtest case on Simulator using jenkins

I am getting below error while running XCTest test cases on simulator on jenkins: The operation couldn’t be completed. (OSStatus error -10810.) It happening because Jenkins run as daemon. So, I did all changes as mentioned in below link to make it…
0
votes
1 answer

Jenkins build fails every odd build

So I've recently ran into weird problem, my jenkins build fails every odd build for no reason. Build is simple, it runs ansible playbook which in turns deploys code to remote machines, clears caches, runs maintenance, etc. Build basically runs…
baldrs
  • 103
  • 1
  • 5
0
votes
1 answer

Get-DscResource not returning full list when run from Jenkins on Windows

I have a Windows Server 2016 Jenkins build box. I want to run some powershell in a Jenkins job. As a test I have set the job to do this in a Execute Windows batch command build step: powershell -command Get-DscResource -module xhyper-v I get this…
Mark Allison
  • 2,188
  • 7
  • 26
  • 45
0
votes
1 answer

how to keep my docker container up running?

I'm running all my application code inside a docker container and I'm using Jenkins to build. So it takes 2 to 3 hours to run the build and it creates the zip files inside the docker container and I'm copying that zip files to the server. So once…
0
votes
1 answer

Multi-stage CI monitoring or how can I split the deployment steps into controllable chunks

First of all, I am not looking for a product recommendation (well, I am, but it's more like me looking for a solution to a problem and not trying to pick something from an existing list) The environment: I am using Jenkins to run a complex,…
dyasny
  • 18,802
  • 6
  • 49
  • 64
0
votes
1 answer

Dockerized Jenkins on GCP Kubernetes gives "No valid crumb was included in the request"

I've tried to run the latest Jenkins (2.19.3) on Google Cloud Platform, by directly deploying the Jenkins Docker image. The process starts fine, but as soon as I try to use some form (e.g. to create a user) I get the "No valid crumb was included in…
0
votes
0 answers

Running Jenkins Behind Reverse Proxy and Active Directory Authentication

I have a really weird requirement (Security team doesn't even want people who don't have access to see the Jenkins UI), where I want to run Jenkins behind reverse proxy (Apache) and then secure it via Active Directory Authentication. Here is my…
0
votes
1 answer

How to configure jenkins on ec2 to run whenever there's a new build in my project repository

I wanna set a jenkins CI for the first time in a linux EC2 (I'm working from windows). My jobs are in maven. The thing is: how do I set jenkins to detect whenever there's a new build in my remote ec2 repo, how do I connect them both? I tried to…
0
votes
0 answers

Jenkins - Webhook returning 500 error "No such user"

I having issues with my webhooks in Jenkins returning 500 errors stating "No such user". If I am logged into Jenkins and try and run them from my browser they work appropriately. I have tried passing both the username and password as well as the…
cdlaforc
  • 11
  • 1
  • 3
0
votes
1 answer

Jenkins - install envinject plugin

Im trying to install envinject plugin in Jenkins but could not find the plugin. When I search in the plugin list, I get the following - Environment File Plugin This plugin enables you to set environment variables via a file. The file's format must…
user1050619
  • 119
  • 1
  • 6
0
votes
0 answers

Failed to connect to repository : Command "git ls-remote -h git@github.comcast.com:username/sidtest.git HEAD"

Im trying to setup Github connection from Jenkins but get the above error. Inorder to overcome this error, I tried changing to Jenkins user and run the git ls-remote command. su -s /bin/bash jenkins but when I run the command I get the following…
user1050619
  • 119
  • 1
  • 6