Category "jenkins"

How to get Jenkins to perform deletes on remote server

I am trying to get started with an automated build process using Jenkins. So far i have managed to get Jenkins to build a project from BitBucket, run tests an

WebDriverException: no chrome binary at /usr/bin/google-chrome-stable or chrome binary not found

I am executing selenium test via Jenkins server in AWS Ubuntu. I was getting chrome binary not found error so I set chrome binary in my code. System.setPrope

"npm run build" = "react-scripts: Permission denied"

I'm trying to deploy my working Windows 10 Spring-Boot/React app on Ubuntu 18.04 but keep getting "react-scripts: Permission denied" error despite numerous atte

Jenkins: 403 No valid crumb was included in the request

I configured jenkins in spinnaker as follows and setup spinnaker pipeline. jenkins: # If you are integrating Jenkins, set its location here using the baseU

Restart Jenkins slave from master

I use jenkins master-slave configuration for capturing Performance metrics of a product. We have observed that jenkins-slave tends to accumulate memory and thus

Active Choices Reactive Reference Parameter is not referring Boolean parameter in Jenkins

I'm using Jenkins for the release processes. In a freestyle project, I need to show 'To Mail Id' input box to get mail ids to send mail only when 'Send Mail' ch

how to integrate jenkins with react jest testing results

My project is using reatJS, jest is used to do unit test and also to generate the coverage report. Now I need to use jenkins to automatically build the project

Jenkins does not recognize command sh?

I've been having a lot of trouble trying to get a Jenkinsfile to work. I've been trying to run this test script: #!/usr/bin/env groovy node { stage('Build

Jenkins shell script returned exit code 1 when the searched string isn't exsist

I'm tring the following at Jenkins in aim to search strings of failures in jobs. This will run on daily basis. def sd = "2020" + "${env.START_DATE}" + "0000"

jenkins builds filtering based on build description

Is there a way to filter out a job's builds based on description matching with build name. Each build name is set by build name setter plugin, and want to filte

How to prevent Jenkins SCM polling from triggering a build on branch creation

I have git SCM polling set up in my Jenkins server job. I run the following commands on my local machine and they trigger a Jenkins build: git checkout dev git

How to stop build from executing from the pipeline script?

everyone! Sorry if the question is stupid, I'm just learning how to deal with Jenkins :) For the testing task I'm doing I need to start server, start Tomcat, th

create jenkins ssh username with private key credential via rest xml api

Basically, I am trying to create a credential on jenkins via Rest API. Using xml data below: <?xml version='1.0' encoding='UTF-8'?> <com.cloudbees.jen

How to get child job logs in parent job on child job failure?

I want to get child job logs in parent job irrespective of if child job passes or fails. Following code returns child jobs logs in parent job only when child jo

Error - Jenkins detected running multiple instances

I am running Jenkins as windows service. It was all good, suddenly from today noon I started seeing the following error while opening it. Jenkins detected t

Jenkins Ambiguous Permission

After updating Jenkins, it is sending a warning for ambiguous permission for project base permission. I can migrate the entry to user or group manually, was won

compare 2 variables in jelly script

<j:set var="maxEachOSTime" value="0" /> <j:if test="${xmlval &gt; maxEachOSTime}"> ${xmlval} &gt; ${ maxEachOSTime} <j:set va

Jenkins not building docker image, can't find the docker command

I'm trying to make Jenkins build and publish a docker image of my project after every successful build of my Maven Java project. I have a Dockerfile and a Jenk

How to add a timeout step to Jenkins Pipeline

When you are using a free style project you can set that after 20 minutes the build is aborted if not concluded. How is this possible with a Jenkins Multi Branc

How can I pass variables to post-build actions in Jenkins?

I am trying to send an email in a post-build action, with the content set to some results I computed in a build action. I cannot seem to be able to pass variabl