Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
83 views

I would like to add the job name and build number as a pod label of the agent pod that is spawned by the kubernetes plugin. For example, if I have a job called "buildMyApp" and I start build ...
Riccardo Ficarra Fiky's user avatar
0 votes
1 answer
1k views

I run into a strange issue, as the title suggests. I am running my Jenkins on a Kubernetes cluster on IBM Cloud. I used the kubernetes plugin to configure a cloud and dynamically create a slave ...
Andrei S's user avatar
0 votes
0 answers
230 views

I've encountered a problem using the backup plugin. I'm getting an error when trying to restore a previous backup using the backup plugin. "Error copying backup files: Failed setLastModified on /...
Tomer Gross's user avatar
4 votes
1 answer
7k views

Our pipeline by default tries to use a container that matches the name of the current stage. If this container doesn't exist, the container 'default' is used. This functionality works but the problem ...
RedEclipse's user avatar
1 vote
1 answer
2k views

Exec Summary Jenkins is running in a Kubernetes cluster just upgrade to 1.19.7 but now jenkins build scripts are failing when running sh "kubectl --kubeconfig ${args.config} config use-context ${...
Nicholas Davies's user avatar
5 votes
5 answers
9k views

I am planning to setup jenkins pipeline on K8S using terraform to provising my CI/CD environment. I am using Terraform v0.12.18 My terraform file has following resource resource "helm_release&...
Alpesh Jikadra's user avatar
3 votes
1 answer
5k views

I have been trying to configure jenkins kubernetes cloud agents on my existing jenkins setup (which is hosted outside k8s cluster). My jenkins is hosted in Google Cloud Platform in a Windows VM. It is ...
ashkaps's user avatar
  • 91
1 vote
1 answer
2k views

I have a problem with Jenkins build and this is what I am seeing in the build log: [Pipeline] Start of Pipeline [Pipeline] podTemplate [Pipeline] { [Pipeline] node Still waiting to schedule task ‘...
Bob's user avatar
  • 8,782
1 vote
2 answers
1k views

I'm on Jenkins 2.235.2 and without any user input every once in a while (like half an hour at most) the security settings just changes itself back to "Delegate to servlet container" instead ...
K. M's user avatar
  • 927
3 votes
1 answer
7k views

I have jenkins running on Windows as a service on 127.0.0.1:8080 and minikube running on 192.168.99.101 below is the pipeline for Jenkins job podTemplate( activeDeadlineSeconds: 240, name: '...
elliot alderson's user avatar
4 votes
1 answer
1k views

Jenkins version 2.235.2 kubernetes-plugin version 1.26.4 I'm trying to parametrize the yamlFile used as pod template with a env variable based on the branch I'm building. What I have right now is: ...
Ale Sanchez's user avatar
0 votes
1 answer
7k views

I have a kubernetes cluster running on GKE and a Jenkins server running on a GCP instance. I am using the Kubernetes plugin to dynamically create pods on the kubernetes cluster. I created a pipeline(...
Siddharth Mitra's user avatar
0 votes
1 answer
4k views

As far as i understood, the kubernetes api allows one to mount a subpath of a pvc into the container in the volumeMounts spec. In my example i want to mount the pvc my-pvc, but in the subdirectory /...
Mark G's user avatar
  • 350
1 vote
1 answer
35k views

In General I'm trying to use label when using kubernetes-plugin for Jenkins, but I get a little bit confused. In my pipeline bellow I'm trying to build test job in parallel steps with different ...
airdata's user avatar
  • 661
5 votes
1 answer
3k views

This is a subset of my declarative Jenkinsfile: pipeline { agent { kubernetes { yamlFile 'pod.yml' defaultContainer 'tools' } } stages { stage('Init') {...
yusuf tezel's user avatar
  • 1,282
2 votes
2 answers
3k views

All flow is working fine locally but it is getting issue on jenkins. I am performing following steps: 1- created simple spring boot sample project downloaded strating from spring.io. Below is the pom ...
vicky's user avatar
  • 678
1 vote
1 answer
2k views

I have a pipeline script with agent any which doesn't work anymore. It is stuck @ Waiting for next available executor pipeline { agent any stages { stage('Stage1') { ...
niklodeon's user avatar
  • 1,390
1 vote
0 answers
563 views

Using kubernetes-plugin Parallelise declarative Jenkinsfile how do you run stages in parallel, when each stage uses the same container? (eg: sonar_qube analysis and unit testing both run on a maven ...
Melissa's user avatar
  • 882
1 vote
1 answer
663 views

When using the NodeJS tool on a slave that is configured with a global package, the following error is given: env: can't execute 'node': No such file or directory If the build runs on an executor in ...
Jacob Lambert's user avatar
0 votes
3 answers
2k views

We have a jenkins master-slave architecture and using the Kubernetes Jenkins plugin. The podTemplate looks as below podTemplate(label: 'builder-pod', cloud: 'kubernetes', containers: [ ...
smk's user avatar
  • 5,972