Using Docker in Jenkins pipelines running on Kubernetes

2024-11-25 Thread 'Boris Teplitsky' via Jenkins Users
I run Jenkins on Google Cloud (GKE) using Helm from Jenkins Helm Charts (jenkinsci). I need to use Docker commands in Jenkins pipelines. What steps should I follow? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: can't add directory to the path in Jenkins pipeline

2024-11-07 Thread 'Boris Teplitsky' via Jenkins Users
now it works thanks On Wednesday, November 6, 2024 at 1:51:21 PM UTC+2 kra...@gmail.com wrote: > Use: > > withEnv(['PATH+GCLOUD=/opt/google-cloud-sdk/bin']) { your_body } > > to modify the PATH env variable. > > -- You received this message because you are subscribed to the Google Groups "Jenk

can't add directory to the path in Jenkins pipeline

2024-11-06 Thread 'Boris Teplitsky' via Jenkins Users
I tried to add a directory to the PATH in the Jenkins pipeline using the command: Copy sh 'export PATH=$PATH:/opt/google-cloud-sdk/bin' However, I received the following error: Copy + export PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/google-cl

Jenkins on GCE - Deploying Google Cloud Function to different GCP project

2020-03-31 Thread 'Boris Teplitsky' via Jenkins Users
I have Jenkins installed on GCE VM (Debian) on project . I need to deploy a cloud function with source in Google cloud repository to project . I do it successfully from the shell of Jenkins VM. In order to deploy a function from pipeline I did follow: 1. Create a service a