Questions tagged [jenkins]

Jenkins is an open source continuous integration tool written in Java, that has packages for Linux, Mac OS X, Windows, FreeBSD and OpenBSD. The project was forked from Hudson.

47,969 questions
0votes
0answers
11views

Jenkins Multibranch Pipeline check only the new or changed files pushed to GIT

we are working with a tool where the elements are all written via .json. Currently my GIT folder structure looks like this: elementsfolder -> element1.json, element2.json, element3.json ...
1vote
0answers
14views

Bring 'offline node' online script

So I was wondering if it's possible to create a script that checks in a node is offline and if it is it should bring it back online. The login used should be by username and token. I'm talking about a ...
0votes
1answer
12views

Access information about pusher in Jenkins GitHub Branch Source plugin commit webhook payload

I'm using the Jenkins GitHub Branch Source plugin together with a GitHub App in an Organization. The integration is working fine and jobs get created and triggered on commit as intended. The webhook ...
0votes
0answers
8views

unable resolve npm dependencies while whitesource scan in jenkins

I am running jenkinsfile where we are doing whitesource scan for node_modules directory and when scanning ,in resolving dependency step its trying to connect https://registry.npmjs.org for each ...
0votes
0answers
12views

Jenkins JNLP build agent - HOME is not set

I have a Jenkins instance running that has the kubernetes cloud plugin. I'm trying to spin up a new pod, and simply run an echo command to test out my environment. However, the jnlp container will ...
-1votes
0answers
4views

Not able to access jenkins using fetch API, getting "CORS Blocked Error"

I am getting the following error, Access to fetch at 'http://ec2-44-199-*-.com**te-1.amazonaws.com:8080/job/Job1/api/json?build=pretty' from origin 'http://localhost:3000' has been blocked by CORS ...
0votes
0answers
6views

Getting site took too long error for Jenkins server from AWS EC2 instance

Yesterday when I set up AWS and jenkins I created my first job in jenkins server from AWS linux system. Then I stopped the instance and today I started the instance and when trying to connect to http:/...
0votes
0answers
8views

Deleting pods from Openshift with Jenkins jobs

before this question i used jenkins command line but it is not effective for me so i wanted to write something that automates the process but not from terminal. As i looked up i can create a pipeline ...
0votes
1answer
31views

How to resolve a shell script variable in a Jenkins Pipeline script, while using sed? [duplicate]

I have jenkins pipeline script, in which I am using sh to perform some bash commands. sh """ #!/bin/bash # some work that needs groovy variable access (env vars) some_var='5' # for ...
0votes
1answer
19views

How to build a project via Jenkins from source files to Jar file

I am new to Jenkins and I am trying to practice it. I have gone through few tutorial for beginner but I think I still miss something, so please help me by pointing me to the right direction. Assume ...
0votes
0answers
14views

Is there a way to edit stage time in Jenkins pipelines

Currently Jenkins pipeline input step time is shown as paused for X duration in stage view. I want the inputStep time to be included, currently I am using an ugly way to run parallel branches ...
0votes
2answers
34views

Jenkins - how to run a single stage using 2 agents

I have a script that acts as a "test driver" (TD). That is, it drives test operations on a "system under test" (SUT). When I run my test framework script (tfs.sh) on my TD, it ...
0votes
1answer
17views

Is it possible to pass variable from steps to script in jenkinsfile

I have one pipeline and I want to pass one Arraylist that I get from a groovy method into the script that is running in Master Jenkins. stages { stage('Get Tests Parameter') { ...
  • 37
0votes
0answers
23views

Jenkins Service Connection in Azure throwing verification error

I am trying to set up a service connection between an Azure Devops Project and a Jenkins instance hosted in azure Goal I am trying to create a service connection that will allow azure devops to ...
0votes
0answers
17views

A required class was missing while executing net.masterthought:maven-cucumber-reporting:5.7.0:generate: org/apache/commons/lang3/ArrayUtils

Jenkins mvn --version: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00) Maven home: /appl/xxx/maven/apache-maven-3.3.9 Java version: 1.8.0_51, vendor: Oracle ...

153050per page