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

Jenkins scripted client access to node/block logs (not full log). curl works, but suggested perl code does not

I want to get the log for a Jenkins node (enclosingBlock) for one of my jobs. I know I can get the full log: (replacing jenkinsserver and %JOB% as appropriate) http://jenkinsserver/job/%JOB/lastBuild/consoleText And I can sometimes get a node log…
0
votes
1 answer

How to interpolate Jenkins environment variables inside Dockerfile?

I have a Jenkins pipeline, One of the stages of the pipeline is to build the artifact from a java application code. The artifact always get the name hello-world-${BUILD_ID}.war using BUILD_ID jenkins environment variable for every build the name of…
Sara Ben Shabbat
  • 59
  • 1
  • 3
  • 7
0
votes
0 answers

Jenkins: Kubernetes plugin configuration for EKS cluster

Jenkins version : 2.204.4 (hosted Jenkins in IBM server) Kubernetes plugin version: 1.24.1 Tested process 1: I am trying to configure Kubernetes plugin with the EKS cluster, but could not get any proper documentation. Can I please ask you how you…
yamini
  • 1
  • 1
0
votes
1 answer

Jenkins with Nginx, need to listen only https port

I have Jenkins instance in AWS EC2. I have installed Jenkins with port 8080. And I have nginx as a reverse-proxy. My jenkins.mydomain.com.conf: server { listen 80; server_name jenkins.mydomain.com; server_name_in_redirect on; …
Piduna
  • 541
  • 4
  • 12
  • 25
0
votes
1 answer

Setup Jenkins on Kubernetes - Error 403

I am on a IaaS Kubernetes k8s on a Virtual Machine. I have setup a nginx and some other apps which are working well. (I can reach my apps) I am using nginx ingress controller. When I try to reach jenkins outside of the node, I get an empty reply but…
Sartigan
  • 1
  • 2
0
votes
1 answer

How to give docker container access to each others?

So far I made 2 docker container using Docker Engine and Docker Compose for a CI proof of concept. The first one is Jenkins and the other one is Gitlab CE. Here are the version Docker version 19.03.6 docker-compose version 1.25.4 and I have a…
Ced
  • 101
  • 2
0
votes
1 answer

Occasional permission denied when getting logs using gcloud through Jenkins running as GKE

We are using a Jenkins project to run "gcloud logging read ..." from a shell to get logs from a gcloud container and we occasionally see a permission error in the script: ERROR: (gcloud.logging.read) PERMISSION_DENIED: Request had insufficient…
0
votes
1 answer

issues with launching jenkins agents on kubernetes using kubernetes plugin with jenkins

I am getting the following error trying to integrate jenkins server to kubernetes cluster so that jenkins agents are spun on on the kubernetes cluster to run jobs 2020-02-06 17:21:26.875+0000 [id=961] WARNING o.c.j.p.k.KubernetesLauncher#launch:…
uberrebu
  • 503
  • 6
  • 17
  • 36
0
votes
2 answers

Bulk delete ec2 snapshots from Jenkins

Use case: Export list of snapshots in txt file (old_snapshots.txt) to S3 bucket. From Jenkins, use aws cp command copy file to Jenkins /tmp/directory --dry-run did not show any error However, when passed the following bash line with aws delete…
Sunny J
  • 607
  • 3
  • 14
-1
votes
2 answers

Will any running process be killed if I free the swap memory from my Ubuntu server?

The question (title of this question) came into my thought for the below reason. If anyone gives a solution of that reason then I don't need to free the swap memory. The Reason: After installation of Jenkins it is running well. But using some…
Shamim
  • 101
  • 6
-1
votes
1 answer

How to use SonarSwift(Sonarqube) plugin in Jenkins in Ubuntu 16.04?

I have installed lizard but I'm getting this error when I build my job in Jenkins: 11:00:22.363 ERROR - Lizard Report not found /var/lib/jenkins/workspace/xxxxxxxx/sonar-reports/lizard-report.xml java.io.FileNotFoundException:…
Ashutosh
  • 99
  • 5
-1
votes
4 answers

Redirect to localhost:8080?

I have a Jenkins installation which is accessible at localhost:8080 or if accessing externally as website via IPaddress:8080. I'd like to access the website with something like IPaddress/jenkins instead and have IIS know how to redirect to…
meds
  • 99
  • 1
  • 3
-1
votes
2 answers

Running Jenkins with apache at /jenkins

I need to have access at the /jenkins path to the Jenkins server. This is what I have now in my apache configuration: ProxyPass /jenkins http://localhost:8080 ProxyPassReverse /jenkins http://localhost:8080 When I go to example.com/jenkins, I get…
DrKaoliN
  • 109
  • 1
  • 6
-1
votes
1 answer

how can i get jenkins stop listening on for remote connection on mac os x `

actually my Jenkins server is installed on mac os x, and it is having unsecured http port 8081(http:www.mydomain.com:8081). We changed http to https by securing with letsencypt and using apache as reverse proxy and everything working fine and…
navin
  • 1
  • 1
-1
votes
2 answers

How to restart gunicorn in Jenkins build?

I'm trying to build a Jenkins job that (1) pulls the latest from Git, (2) builds my Django project, and (3) restarts gunicorn and nginx. However, when I try to restart gunicorn, I get the following error: jenkins@digitalocean:/$ /usr/sbin/service…
ttmtran
  • 3
  • 1
  • 4
1 2 3
43
44