Category "jenkins-pipeline"

How to run a Jenkins Startup Script

I need to run a script on the Jenkins Script Console at each Jenkins server start-up. Is that any way to automate that?

How can we trigger a parameterised jenkins release job manually (it takes Pull request ID) only if Pull request build job was successful?

I have setup a jenkins pipeline job which gets triggered whenever a new Pull request arrives on my github repository main branch (this job builds and run tests

Pass parameters to Jenkins shared library

I just simply want to pass the repo name cloud-nates in shared pipeline, so i've passed the parameter deployName from jenkinsfile to shared library. below is th

Docker not found when building docker image using Docker Jenkins container pipeline

I have a Jenkins running as a docker container, now I want to build a Docker image using pipeline, but Jenkins container always tells Docker not found. [simple

How to re-trigger a stage in a Jenkinsfile

I have a situation where in 2 Stages in a Jenkinsfile I have to do the following things: Push a Docker image to artifactory. This push is to a folder on artifac

Azure Board integration with Jenkins

Is it possible to get a azure board ticket created from a Jenkins event . As In your Jenkins pipeline , if an build fails , it should create an ticket on the az

Jenkins pipeline Schedule job that will skip Wednesday once in two week

I'm looking for a way to schedule my pipeline to skip Wednesday once every two weeks. Now it works like this: H 4 * * 1-2,4-5 But it skips all the Wednesday

Script section is not working in pipeline script in shared library

My Jenkins file: @Library("shared@dev")_ Start() My Start.groovy pipeline script: def call() { pipeline { agent any stages {

Jenkins miniOrange SAML 2.0 failed login

I have installed and configured miniorange plugin following exactly this setup: https://plugins.miniorange.com/saml-single-sign-on-sso-into-jenkins-using-google

escape single quote awk command in jenkins pipeline

I get error "awk: fatal: cannot open file `print' for reading (No such file or directory)" when executing this command in jenkins pipeline. sh """ssh -o StrictH

Set environmental variables from shell script in Jenkins pipeline

I have a requirement where I have a shell file (init.sh) which sets environmental variables based on conditions. My pipeline looks something like this pipeline

Jenkins active choice options populated with gke cluster namespaces

I am trying to create a Jenkins pipeline with active choice parameter options populated with GKE Cluster namespaces. I can Run a single shell command and get ou

How to run a 2 Jenkins slaves simultaneously with only one trigger from the job of master

I have a selenium automation project with Maven and I am currently using XML files to run the batches of test cases locally. Now I have a requirement to run the

How to update a file using jenkins job

I have a jenkins Job that create an image and upload to dockerhub. The next step is to deploy a "pod" configuration to k8s. I have the pod.yaml in my giy, but I

Build stages in Jenkins only when specific files are changed but use a function

I want to update my Jenkins pipeline in way that certain stages are only build when some specific files are changed (git is already integrated in the pipeline).

Jenkins Remote api error Dashboard Logging ID

I'm a beginner in Jenkins. I'm trying to help my boss with the issue below The Jenkins version is: Jenkins 2.332.2. A problem occurred while processing the req

Jenkins Pipeline - using P4Publish with submit operation never ends

I'm a little bit stuck and Jenkins P4 plugin documentation is minimal at best. I have a Jenkins Pipeline that do a P4publish + Submit operation as it last stage

Getting TimeoutException: Message: timeout: Timed out receiving message from renderer: 300.000 only when using Jenkins for Switch Window on Chrome

I'm using different web urls in tabs in one browser, in order to get the required value from one website and add it to the other. I use a robot framework for th

Jenkins groovy regex pattern search and match in commit message not working as expected

I'm working with this pipeline where running tests from a commit message should be an option. I'm a novice in groovy and regex, but I have managed to get matche

How to prevent parameters created with Scripted Pipeline to replace the ones set on the UI?

With Jenkins Declarative Pipeline syntax, in the parameters block, the behavior of the parameters is like so: If the defaultValue of the parameter is customized