Category "jenkins"

Pulling Artifactory Information From Jenkins Using DSL Script

Preface: I'm pretty green in the Jenkins\Artifactory\DSL space, so I'll prob sound like I'm bumbling along. I'm working on a Jenkins DSL script to pull informat

Job Import Plugin doesn’t import folder

I’m currently trying to import jobs from a server running on AWS to a new server running on GCP Kubernetes. I already set up the Job Import Plugin version

Jenkins Lambda deployment causing ResourceConflictException

I am using the AWS Lambda Jenkins plugin. Using the AWS Lambda deployment build step works fine initially for deploying the lambda. However on subsequent calls

Jenkins Lambda deployment causing ResourceConflictException

I am using the AWS Lambda Jenkins plugin. Using the AWS Lambda deployment build step works fine initially for deploying the lambda. However on subsequent calls

how to set jenkins changeset exclude setting

I'd like to know if there is something opposite to changeset in Jenkins. For example, in the doc (https://www.jenkins.io/doc/book/pipeline/syntax/), an example

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

Jenkins agent none VS labels - block execution on delegated step

I have 2 workers, but only one of them has proper 'build stack' (should be used for build only), so I'd like to 'delegate' one step of my pipeline to that node.

additional blank module published in Jfrog through Jenkins pipeline

I am trying to deploy Gradle artifact using Jfrog Cli command which works as expected. However, when running the build-collect-env command and publishing the bu

Build step 'Deploy war/ear to a container' marked build as failure Finished: FAILURE (Or) ERROR: Build step failed with exception org.codehaus.cargo.c

I was trying to solve this myself, but I haven't been able to solve this issue for three days. I have added user in tomcat-user.xml and tomcat port number is ev

Jenkins Error "Microsoft Excel cannot access the file"

I am using jenkins to run a .bat file that is in location C:\Users\foo\Desktop\xxx.bat which internally copies from another machine an excel calls a vbs s

Github PR triggers multiple Jenkins jobs but reports only the state of the last job

I currently have GitHub connected to Jenkins and for every pull request, GitHub triggers a Jenkins job which seems to work fine. I am extending this to trigger

Where is hudson.model.Run.Replay permission object defined?

Jenkins allows granting members (users and groups) Run.Replay (Run → Replay) permission by using UI: Unfortunately, Run.Replay permission it is not defi

Jenkins won't install recommended plugins on Windows

I'm trying to run Jenkins on my Windows laptop using their .war package. The Java version I have installed is jdk-11.0.12, and as far as I saw, Java 11 is suppo

Automated Chrome Extension installation fails on jenkins windows node

In my Jenkins job I try to install a chrome-extension using "C:\Program Files\Google\Chrome\Application\chrome.exe" --load-extension="D:\Jenkins\workspace\test\

Create unique variables in a loop powershell/Jenkins

I am trying save urls created from an array into unique variables created in a loop in a Jenkins freestyle project. I need to use these variables in the next st

Jenkins Tests results available but no trend-chart

I've a jenkins pipeline script which executes rake to test a webapplication using watir an selenium. The results are exported as XML-format in junit format. In

Cannot start jenkins-lts on mac using homebrew

I am trying to install/run jenkins on a mac machine using homebrew. This is what I did brew install jenkins-lts On running this command. I see that jenkins-lts

Jenkins Shared Library - Importing classes from the /src folder in /vars

I am trying to writing a Jenkins Shared Library for my CI process. I'd like to reference a class that is in the \src folder inside a global function defined in

Environment variable cannot be used in Jenkins JobDSL plugins

We use Jenkins JobDSL with ConfigurationAsCode for our CI setup. The job is checking if there is a difference in the Git repo and if there is : clone the repo,

How to upload Maven packages and build info to Artifactory from Jenkins

I'm a little confused about how this should work. I have a Jfrog Maven repo. In my Jenkins pipeline I'm just using mvn deploy to deploy to it. But I want to get