Category "jenkins"

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('

Jenkins launches 2 builds when manually triggered

I've noticed a recent issue in both our instances of Jenkins. When launching a job manually, it launches twice. I've no idea what is causing it, but it's happen

Jenkins launches 2 builds when manually triggered

I've noticed a recent issue in both our instances of Jenkins. When launching a job manually, it launches twice. I've no idea what is causing it, but it's happen

How to check if Jenkins build is waiting for input?

In Jenkins' Groovy, how can I detect that some other build is waiting for user input, as triggered by statements like input message: 'Retry?' ok: 'Restart'? I

How to copy folder having files, also having sub-folders with different files to aws S3 bukcet with same folder level structure using python language

Hi all can you please help to figure out this issue How to copy a folder having py files, and aslo having sub folder level files which are present in a particul

Jenkins Shared Library src class - unable to resolve class

I am looking for some guidance on the design of a Jenkins Shared Library class. Using global vars as shared library is working fine but everytime I define a cla

Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site failed: Java returned: 137

I get an exception when project builds in Jenkins with site goal: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site (default-

Why this error? "No such property: Entry for class: java.util.Map"

I'm following an example from JENKINS-44085 issue very-bottom comments about creating a stage map almost to the T, but when I execute my code I get No such pro

Log4j2 Logs are not printed neither on the console or in the RollingFile when executed on Jenkins or in Command line

I pushed my automation framework to Github and integrated it with Jenkins. I used Log4j2 to capture the logs in the runtime. This works perfectly fine when I ru

What is the difference between using the pollSCM and the Scan Multibranch Pipeline Triggers in Jenkins?

I've been using Jenkins and I've seen a lot of Pipeline examples (declarative ones) and I've seen some using the pollSCM property in the Jenkinsfile to trigger

Docker in Docker configuration

I am having Jenkins running in K8s and now i am trying to run: docker build as one of the step in Jenkins build. Since Jenkins is running inside Docker, i came

Jenkins cannot deploy to nexus

when deploy from jenkins to nexus with the Nexus Artifact Uploader plugin i get the following error: java.lang.NullPointerException at sp.sd.nexusartifactup