Category "jenkins"

JMeter performance plugin having XXE vulnerability. Any other alternatives?

JMeter performance plugin is listed with vulnerability: https://plugins.jenkins.io/performance/ So currently its not safe to use this plugin(https://www.jenkins

Zip Command not found in Jenkins

I am trying to zip a directory in a Jenkins pipeline, my code is similar to this stages { stage('ZIP') { steps {

How to use the Jenkins MSBuild plug-in in a Jenkinsfile?

I have Jenkins v2.60.3 with the MSBuild Plugin v1.27 installed on Windows. I have configured the path to my msbuild.exe in Jenkins' Global Tool Configuration.

Jenkins Unable to connect to Bitbucket cloud

I am setting up project in Jenkins where I have to pull code from bitbucket cloud. I am seeing errors in Jenkins. Thing is Jenkins is unable to connect to bitb

How to get python3 on jenkins?

I am new to Jenkins. I installed python plugin which is available from Jenkins UI. But seems like it install python 2. I want to have python 3 on Jenkins. I hav

Jenkins unable to find npm

On this linux server, I have a user named "myuser". For this user, when echoing the path, I get this: /home/myuser/bin:/home/myuser/.local/bin:/home/myuser/.nv

How to run `dotnet lambda deploy-serverless` command without parameters?

Good evening. The question is about dotnet lambda deploy-serverless command. This command is used to deploy .Net apps to AWS Lambda service using AWS CloudForma

Trigger parameterised maven release with Curl

Using following command to perform maven release: curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -u user:jenkinscrumb --data-urlencode json=

Jenkins deployment to Tomcat failed

I'm currently learning and implementing Jenkin's Pipeline for automated integration for java web application. My plan is that once developers successfully comm

Jenkins pipeline library build using Java instead of Groovy

I would like to write my company Jenkins Pipeline Library using Java not Groovy, as groovy is slower than Java. I tried to find examples of such Java Jenkins li

Provide external yaml file to JCasC configScripts

I am configuring my Jenkins instance using jenkins-helm chart (https://github.com/jenkinsci/helm-charts/blob/main/charts/jenkins/VALUES_SUMMARY.md#jenkins-confi

Git | Jenkins | Permission denied (publickey)

We have a common LDAP account/user. We plan to use this user to configure Jenkins for our team. I logged in to the machine/VM using my login and installed Jenk

Preventing default checkout in shared Jenkinsfile

I have a number of multi-branch pipeline jobs in Jenkins on Windows, each of which uses a standard procedural Jenkinsfile which contains various methods for run

Docker, how to deal with ssh keys, known_hosts and authorized_keys

In docker, how to scope with the requirement of configuring known_hosts, authorized_keys and ssh connectivity in general, when container have to talk with exter

permission denied while building project in jenkins . /tmp/jenkins7547483698503669612.sh: line 2: /root/hello.sh: Permission denied

I am facing an issue when I am trying to run the Jenkins job. I have tried to change the permission of the script, but it seems the error persisted. chmod -R 77

How to use source command within Jenkins pipeline script

I recently rewrite bash execution command into Jenkins pipeline. The old code is like ... source environment.sh //Build //Test ... Now I use pipeline script

Abort Jenkins pipeline (workflow) build after timeout

Whenever a build gets stuck of fails somewhere the timeout kicks in but the build is not aborted and it is stuck running forever until you cancel the build, go

How to retrieve current workspace using Jenkins Pipeline Groovy script?

I am trying to get the current workspace of my Jenkins build using a Groovy pipeline script: node('master') { // PULL IN ENVIRONMENT VARIABLES // Jenki

Karma Chrome Headless not working on Jenkins

When I run the below setup with Docker locally on my mac everything works fine. But same setup does not work on Jenkins running on Ubuntu 16.04 ChromiumHeadle

Change email address in Git

I have a project hosted in Git stash (now rebranded as Bitbucket Server). It is built using jenkins. Now I made a typo while installing my Git locally. Like @ab