Category "jenkins"

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

Unable to install jenkins in mac

I am trying to install the Homebrew throwgh following command in Terminal: brew install jenkins-lts but the result is: -bash: brew: command not found what is yo

Automate IBM ODM RuleApp build from Git using Jenkins

I need to build the ODM RuleApp as below Decision Service and Java XOM project is in Git Build the RuleApp through Jenkins from Git The created jar file is to b

How to pass command line arguments into gauge tests?

I want pass a command line argument is_triggered=true as part of running Jenkins gauge tests run. How can I pass the argument when I am doing gauge run specs --

Jenkins failed to start - Verify that you have sufficient privileges to start system services

When installing Jenkins (LTS) on windows 10 via the installer, after choosing the JDK folder - an error pops when the service is trying to start. The error read

How to determine what Java Jenkins is using to run and point it to the correct location (Java 11)

I've looked all over for this answer but cannot find it, as most of the answers are how to add JDK to Jenkins for usage within a test. I'm looking for how to en

User cannot get resource "services" in API group - Jenkins pipeline EKS deployment

I'm trying to deploy my docker image into the cluster using Jenkins. my Jenkins application is running in an EC2 ubuntu server. Initially, when I tried I was ge

Upgrading Jenkins Java version from 8 to 11

I'd like to upgrade java from 8 to 11 as recommended for Jenkins 2.303.1, I'm reading the guide in https://www.jenkins.io/doc/administration/requirements/upgrad

Running Powershell script in Jenkins Declarative pipeline

I want to run Powershell script on agent from Jenkins declarative pipeline. It hangs on the script execution step (click on Job logs) and i have to forcefully e

Jenkins do not run test through GitHub hooks

I have Jenkins job configuration where I have a Trigger phrase set to: .*jenkins:\W+run\W+tests\W+sanity.* and I have PR from this repo where I'm adding comment

Jenkins workspace is being deleted and also 'Workspace clean-up.log' file is getting generated everyday even without the Workspace Cleanup plugin

Jenkins version : 2.332.1 We have been having this weird problem of some (but not all) of the Jenkins pipeline workspaces being removed from the Unix host where

not able login to aws ecr from jenkins pipeline

pipeline { agent { label 'label' } environment { AWS_ACCESS_ID = credentials('aws-access-key') AWS_SECRET_KEY = credentials('