Results for jenkins-cli
I try to convert github action to jenkins pipeline. This github action generate a native image via Jib. This is the commande line mvn package -Pnative...
I have a simple Jenkins pipeline project that I want to trigger when pushes occur to the master branch only, I have configured the pipeline with the f...
My configuration: Jenkins on EC2 machine in configuration Master - 1 Slave(Node) Node has 15 executors I have 1 pipe for build android modules for ...
I'm facing an issue in my Jenkins pipeline where I get a java.io.NotSerializableException when using XmlUtil.serialize. Code Snippet: de updateFile() ...
in Jenkins, I want to pass value of a variable from a stage to a function (defined in library) in another stage. I tested with env variables, but the ...
I have the following snippet of my Jenkins Pipeline script: pipeline{ agent none stages { stage('First Stage'){ agent { lab...
I'm trying to add multiple reactive parameter for a single active parameter. But when I implement it in Jenkins Pipeline, 2nd reactive parameter is go...
I have a lot of Jenkins jobs that has this option enabled in their configuration page How can I disable it via pipeline code so it'll be this? Here'...
I have set up the following Okta AD group deployer-beta and assigned myself to this role in Okta. And have also enabled the group to match regex .* ...
This should be simple however I'm struggling to find the correct setup for this. I have a working declarative pipeline, compiling a c++ application us...
I have centralized deployment that is created as a "pipeline" item on Jenkins. All of the services can be deployed from UAT to PRD using this pipeline...
I am creating jenkins agent in kubernetes. First time unlock jenkins page loaded and ask for admin password from the command prompt using kubectl logs...
I've a requirement to fetch the credentials from Vault in a keeper namespace and use withVault directive in Jenkins pipeline instead of withCredential...
I'm working on configuring a Jenkins setup where a pipeline should be triggered every time there's a push or pull request made on a Bitbucket Server r...
I am trying to call simple kubectl commands from Jenkins for my Azure Jenkins is installed jumpbox which is connected to AKS and ACR. kubectl commands...
I want to create large EBS volumes (e.g. 1TB) dynamically for each jenkins worker pod on my EKS cluster such that each persistentVolume representing a...
I'm trying to insert JSON data into my database from Jenkins pipeline, unfortunately I have problem with proper format. My query looks like that: def ...
I'm following an example in Getting To Know Groovy Variables And Their Functions and have the following. EnvironmentMgr is a singleton class I've defi...
I am trying to trigger a pipeline when code is merged to a particular branch. I have don the Git server set up and the git webhook configuration and y...
I have a Jenkins shared-library under src/org/helpers I have a groovy file ErrorHolder.groovy package org.helpers class ErrorHolder { private Str...
TLDR: How do I get a variable out of a sh section, into subsequent groovy stage to be used in a method? (As seen in below code which doesn't work unle...
I'm setting up a docker compose file which starts jenkins, then an agent. I had many errors in my config, so I got a lot of errors when the agent star...
I am trying to integrate selenium tests suite (Maven) with jenkins and I am using chrome headless browser but facing error as below. [2114:2114:0905/1...
I know how to restrict by Job name on the node configuration page: But now we have (multibranch pipeline) DSL job scripts that dynamically determine ...
I have an application that runs Cypress e2e tests. Most of the tests are pretty stable - as long as I run them locally. When I run them by deploying...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?