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

unable to install jenkins in centos 9

I have tried to install jenkins several times by following the instruction given in the official site. But failed. Below I am giving the instructions. sudo wget -O /etc/yum.repos.d/jenkins.repo…
Black Swan
  • 111
  • 3
0
votes
1 answer

Jenkins running as a service restarts by itself after upgrade from 2.303.2 to 2.319.3

I upgraded Jenkins (running as a service) from version 2.235.5 to 2.303.2 (by just replacing .war file and restarting the service), which seemed to work pretty stable. Before doing it, I upgraded Java from OpenJDK 8 to OpenJDK 11, which was the…
Chris
  • 1
0
votes
0 answers

Jenkins Multibranch pipeline organisation folder with JCasC not Initialising at startup - Requires "Save" through UI

I am configuring Jenkins 2.332.3 with JCasC and the Multibranch pipeline. The pipeline is generally OK but it requires that we click This folder is empty | Configure the Project and then Save for it to recognise any jobs when the jenkins instance…
Banoona
  • 103
  • 4
0
votes
1 answer

Not able to use for loop using bash in Jenkins pipeline

Following is my code stage ('Connect to cluster (update kubeconfig)') { steps { script { dir("${env.WORKSPACE}/gke-infra-creation") { def jsonObj; jsonObj = readJSON file:…
Zama Ques
  • 523
  • 1
  • 9
  • 24
0
votes
0 answers

When calling script from jenkins it is not working as expected

we have one react application and start it using pm2 with pm2 start manually. We have written one script to run it, it is working as expected when we run script manually on server. But when calling from jenkins it is not working as expected. Below…
Satish Lamak
  • 51
  • 1
  • 3
  • 7
0
votes
0 answers

How to redirect nginx based on sub path?

I have grafana and jenkins running on same azure vm. For jenkins: http://localhost:8080 For grafana: http://localhost:3000 I thought to set nginx in such a way. customdomain.com/grafana should go to http://localhost:3000 customdomain.com/jenkins or…
user2331760
  • 155
  • 4
  • 12
0
votes
2 answers

How to disable 8080 external access to jenkins?

I have installed nginx along with jenkins on ubuntu 21 machine. Configured nginx to redirect 80 traffic to 8080 using the steps in this link Now, able to redirect the traffic from 80 to 8080. So, to disable direct access to jenkins from 8080…
user2331760
  • 155
  • 4
  • 12
0
votes
2 answers

Error while installing jenkins in ubuntu

While installing jenkins in ubuntu getting the following error: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 6007 (unattended-upgr) N: Be aware that removing the lock file is not a solution and may break your system. E:…
0
votes
1 answer

Private Docker registry w/ NFS storage and Jenkins

I would essentially like to run a private docker registry on an internal LAN that would provide read-only access to a couple of Jenkins nodes. Jenkins Pipeline seems to only allow images from a local registry or an HTTPS based registry via…
0
votes
1 answer

Jenkins Shell script not working. Yarn: command not found

I am running jenkins to build a react app and executing shell commands to build the app automatically. I following are the bash commands cd /var/www/FarmGroWeb sudo git reset --hard sudo git pull origin dev sudo yarn sudo yarn build It fails on the…
Riwaj Chalise
  • 235
  • 1
  • 5
  • 8
0
votes
0 answers

In Gitab repo Merge Requests shows "Checking pipeline status" as stuck

We recently updated gitlab server and we can see for some repos while creating Merge Requests we can see "Checking pipeline status" as stuck. We verified and confirmed settings for "Pipelines must succeed" is not enabled for this repo and also this…
Geo
  • 575
  • 3
  • 9
  • 23
0
votes
1 answer

Pass variable value from one build step to other in jenkins job

I want to pass variable value from one build step that is from 'execute shell' to 'send files or execute commands over SSH" my script in Execute shell* is: if [ "$var" == "1"]; then package="newpackage" fi if [ "$var" == "2"];…
newtodevops
  • 1
  • 1
  • 2
0
votes
1 answer

Deploy dot net web app using dotnet publish to remote IIS server

Using dotnet publish, how do I deploy a dotnet core web application to a IIS server hosted remotely? What is the best way to do that? I am setting up Jenkins for CICD for this app and need this process to be part of this.
Krunal
  • 251
  • 1
  • 4
  • 16
0
votes
1 answer

unable to establish connection b/w dependency track and jenkins

I'm trying establish connection b/w Jenkins and dependency track . Jenkins, i have mentioned track url but i'm getting connection failed error. And I have added api token. please let me know where im missing? [enter image description here][1] please…
0
votes
1 answer

Jenkins networking configuration parameters are to be used when installing or when running jenkins?

After installing Jenkins (the old fashioned way, not a docker container) I've realised that the current Jenkins network configuration (all its defaults) does not allow me to proxy https requests from an nginx. So I've come across the jenkins…
perepm
  • 119
  • 8