Category "jenkins"

Jenkins - Error fetching remote repo 'origin'

I'm trying to setup the Jenkins Github Pull-Request Builder on a Jenkins node slave, however when I set the refspec to +refs/pull/*:refs/remotes/origin/pr/*. T

Jenkins error - Blocked script execution in <URL>. because the document's frame is sandboxed and the 'allow-scripts' permission is not set

I'm aware that if we use a iFrame in HTML we've to sandbox it & add the 'allow-scripts' permission to be true. But my problem is I don't have a iFrame at al

Required context class hudson.FilePath is missing Perhaps you forgot to surround the code with a step that provides this, such as: node

When i load another groovy file in Jenkinsfile it show me following error. "Required context class hudson.FilePath is missing Perhaps you forgot to surround th

Reuse object/property in different stages of a declerative pipeline in Jenkins

We create a new maven build: def rtMaven = Artifactory.newMavenBuild() Now we want to reuse this rtMaven in a different stage than the current one; like in t

Run maven deploy without re-running the entire build

I'm working on a multi-branch pipeline for a maven project. I'm trying to follow what the Jenkins docs keep referring to as the standard CI steps, Build, Test,

jenkins trigger build if new tag is released

I want to configure jenkins so that it starts building if a new tag is released in any branch of an git repository. How do I configure this behaviour? Triggeri

Jenkinsfile Declarative Pipeline defining dynamic env vars

I'm new to Jenkins pipeline; I'm defining a declarative syntax pipeline and I don't know if I can solve my problem, because I didn't find a solution. In this e

Error occurs in jenkins build of unity

Machine:Mac UnityVer:4.6.2 error of the following will appear when you have made a jenkins build of unity. ----- Total AssetImport time: 6.818127s, AssetImpor

Jenkinsfile - get all changes between builds

With reference to this question is there a way to get the equivalent information from when using the mult-branch pipeline? Specifically - the list of commits si

Why getting "Build step 'Execute shell' marked build as failure" error while creating a backup tar for files

We are trying to run a job in jenkins server. Before deploying I am trying to create a tar file of all files and folders. Whenever I try to build job tar file i

Why getting "Build step 'Execute shell' marked build as failure" error while creating a backup tar for files

We are trying to run a job in jenkins server. Before deploying I am trying to create a tar file of all files and folders. Whenever I try to build job tar file i

Jenkins and Bitbucket.org webhooks 404/200 error

I've been struggling with a webhook configuration for quite some time now and would to reach to you all for some help. I have configured a webhook in my bitbuck

Jenkins does not start properly after reboot on GCE

If I need to restart Jenkins due to installing a plugin for instance the slaves are never turned on. I am using Google Compute Engine. I followed this tutorial:

Data Validation. Data is different from Remote browser vs Local Browser

I am facing issue at work. In our QA Automation we use Jenkins to execute test cases, Jenkins will use remote browser, I am able to watch remote browser through

How to reuse workspaces between branches with multibranch pipeline on Jenkins?

I've set up multibranch pipeline to track my repo and automatically build and test for all merge requests. It works wonders, however, I noticed that Jenkins cre

Exception from Jenkins during initialization

I am running a Jenkins server based on https://hub.docker.com/r/jenkins/jenkins LTS. While running version 2.332.1, I have noticed the following exceptions duri

Jenkins Bitbucket LFS-pull failing with missing protocol 'unknown'

I'm trying to set up a Bitbucket-Repo for building in Jenkins. However, whenever there is a LFS-file in the Repo, the pull fails with the error "missing protoco

How to silence the verbose rvm log in Jenkins job?

The thing is I'm loading RVM in Jenkins as a function due to bash "not a login" protection. That however outputs the whole RVM configuration to my log => fir

Error in Jenkins deployment :: [cargo.remote.username] [cargo.remote.password] properties are mandatory

I am amused to see this error suddenly appearing in a jenkins deployment jobs which was working more than few months. While I didn't change any tomcat configura

How is the jenkins slave response time calculated?

My Jenkins slaves are online. It's the response time showing in node list that puzzles me how the response time is calculated. Some response time is higher than