Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

jenkins hosts unreachable - build failing

In my jenkins - build fails in every few days and it shows the below error/message -- (this job is running on my jenkins slave machine) Build o/p - ok=52 changed=5 unreachable=1 failed=0 ...
0
votes
1answer
72 views

Tunneling to Windows VM hosted on Linux from Jenkins Docker container

I am running a Linux Fedora workstation (Fedora 31) hosting a Windows 10 VM and a Jenkins server in docker (on Linux). I Need the Jenkins server (Linux) to connect to the Jenkins agent on the Windows ...
0
votes
1answer
21 views

Jenkins can't find “Git plugin”

In Plugin Manager, under the Available tab, "Git plugin" is not available. I'm running the Jenkins war with Tomcat. Can I paste a log, a config or something? This problem was detailed elsewhere, can'...
0
votes
0answers
5 views

jenkins.war running - URL working with /safeRestart does not work in Windows

I have the jenkins.war version: 2.234. Installed and is executed in many OS Windows 7 and 10 MacOS Linux Ubuntu 18.04 For all of them - each instance is started through: java -jar jenkins.war --...
0
votes
1answer
22 views

Delete all previously failed Jenkin builds

I have a quite large multibranch Jenkins installation. I would like to automatically remove all previously failed builds on a branch if the current build passes. But I can only find the previous build ...
0
votes
0answers
19 views

How can I find out why Jenkins's browser UI consumes too much RAM and CPU?

For a handful of weeks we have been observing that Jenkins' browser UI consumes large amounts of ressources when displaying the last 10 or so builds of our master pipeline. For example, I have ...
0
votes
1answer
84 views

Remotely run Windows 10 command line from Windows Server 2016

I have Jenkins running a batch file on a Windows Server 2016 PC. The batch file that Jenkins runs needs to execute a program, via command line, on a Windows 7 PC. This is part of an automated ...
0
votes
1answer
80 views

installed jenkins on windows ec2 instance

I have installed JDK 8 and Jenkins on Windows EC2 instance I don't see any errors in the logs, but when I go to http://localhost:8080/ , I am getting a page cannot be displayed error Starting C:\...
1
vote
0answers
31 views

Jenkins with .net core, angular 8 and postgre

My question is related with automation. In our project we are using BackEnd- .Net Core 2.2 (right now in localhost but will be dockerize) FrontEnd- Angular 8 (right now in localhost but will be ...
0
votes
0answers
1k views

How to use groovy env. variable in Jenkins to pass through bat command in Jenkins pipeline

I want to concatenate the variable %dispatcher% = %region%COGAPP%env%:10000based on the Jenkins parameter selection. region is passed correctly but env is not. env has an additional loop so it returns ...
0
votes
1answer
834 views

Jenkis CLI does not work: WARNING: No header 'X-SSH-Endpoint' returned by Jenkins

I have Jenkins ver. 2.205 in Windows 10 and I have the following situation Configure Global Security has Enable security checked. I created the id_rsa_jenkins and id_rsa_jenkins.pub keys. The value ...
1
vote
1answer
82 views

What is the correct Job's name to delete old builds but working with Folders?

I read these links: Clear Jenkins build history ( clear build yesterday ) How do I delete the builds 11 to 1717 in Jenkins? Jenkins: remove old builds with command line First of all I work around ...
0
votes
0answers
92 views

Jenkins: For a Job - Why and when is mandatory use File Parameter?

I am working with Jenkins and working with some Jobs working with Parameters. I am able to use Boolean, Choice etc ... I did realize about the File Parameter. I read the following article: How to ...
0
votes
0answers
92 views

Jenkins build unable to create thread

I've rented a VPS with a provider and installed Jenkins on this server. This VPS has 4 cpu cores and 8GB of RAM, plenty for a build server. So I installed Jenkins on there and tried running a simple ...
0
votes
0answers
21 views

Cloudbees jobs triggered of Branch Event and Branch Indexing

I have cloudbees multibranch pipeline jobs which are triggered of Branch Indexing, Branch Event and commits. Desired behaviour is : Build should be triggered of commits only not branch indexing and ...
0
votes
1answer
37 views

Publishhtml not working for jenkins agent within kubernetes

The publish html report does not work for my jenkins agent in kubernetes when jenkins is not running within kubernetes, however it works when jenkins is in kubernetes, this leads me to believe that ...
0
votes
1answer
122 views

Jenkins Pipeline, use an Env Var within emailext plugin

My Pipeline is generating a dynamic recipient list based on each Job execution.I'm trying to use that list which I set it as a Variable, to use in the 'To' section of the emailext plugin, the Problem ...
0
votes
0answers
12 views

Scanning and auditing Jenkinsfile before run

I would like to find out if there is some plugin that would allow to scan Jenkinsfile before it is run for some keywords and if they're found (like calling some credentials) the built is not executed ...
0
votes
0answers
52 views

com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is java.lang.IncompatibleClassChangeError: Implementing class]

I'm getting the below error in the Jenkins log while deploying my application to IBM WebSphere Application Server 8.5 from Jenkins. How can I fix this? 2019-11-01 05:01:56.123+0000 [id=90] WARNING ...
0
votes
1answer
58 views

How to set path to file location in powershell if the file is located in github. (File is a csv)

I want to run a jenkins job using a powershell located in github. Calling the powershell script is successful. Now, a script uses Import-csv. The csv has been uploaded to github. How to reference ...
0
votes
1answer
78 views

Multiple jenkins servers on one server

I have installed on one server jenkins. I wanted to separate jenkins for administrative and development tasks. So the where created 2 configs for administrative and development jenkins. Configs are ...
1
vote
0answers
37 views

Is there a way to use external variable as choice parameters in jenkins?

I want to fetch data from my sql Table and use them as a choice parameters in Jenkins +----+ | ID | +----+ | 11 | | 23 | | 45 | | 72 | | 5 | | 16 | | 71 | | 18 | +----+ I want to use these IDs as a ...
0
votes
0answers
20 views

Jenkins data lost on restart server

Jenkins data was lost when we restart the server, it was being configured freshly, is there any way to revert back the data? as we dont have back up for jenkins home directory, thanks
0
votes
1answer
10 views

How do I tell Jenkins not to use -current- but instead use a service account for running deployment pipelines?

Below is an image of the creds error I see in the configuration settings for all of my pipelines, until I go in and manually select the correct creds to use, which is a service account. For some ...
0
votes
0answers
107 views

Not able to run terraform from jenkins

I am trying to run a terraform command from jenkins pipeline but I am getting an error stating that, "terraform command not found". I have installed terraform plugins as well as in the system where ...
0
votes
0answers
74 views

On Jenkins, a shell source command generates error

The following is called in Jenkis from the Execute Shell block in Jenkins sh ML_script.sh There are two files "ML_script.sh" and "abc.sh" The ML_script.sh sources the abc.sh to call a function in ...
0
votes
2answers
70 views

Jenkins job finishes late than actual execution time

I'm running a freestyle jenkins job which executes cucumber test cases on a windows slave machine. The actual execution completed in 17:23 mins but the jenkins job takes overall 42 mins to finish. ...
1
vote
0answers
171 views

Git credentials not working on remote node

I tried to extend my jenkins master node with another remote machine as executor. I connect the node to the master via Launch agent by connecting it to the master (if that matters). My issue are the ...
0
votes
0answers
13 views

Set Build Name in jenkins job fromjenkins log

I have below description shows in build log. i want to filter the build number from build log and set it as Build_Name. Example: My build log shows as like this.. ... ... Build_Number=101.2-a1 it ...
0
votes
0answers
191 views

How can I force Selenium tests running on a jenkins slave-node to run in the foreground?

I have a CentOS server running a Jenkins server that has a connection to slave-node running windows server 2016. the Jenkins server has a job that is configured to run a series of Selenium tests on ...
0
votes
1answer
192 views

MS Teams: Office 365 Connector redirects to localhost instead of Jenkins URL

I'm trying to setup a simple job in Jenkins with Office 365 Connector plugin. When the job build is finished, I want Jenkins to send the build result to my Microsoft Teams channel. Here's my Jenkins ...
0
votes
1answer
629 views

How to install GCC/c compiler inside of a Jenkins docker container?

I currently have Jenkins running inside of a docker container (This is what Im using https://hub.docker.com/r/jenkins/jenkins/) and I am trying to build a Ruby On Rails CI workflow, but it doesnt seem ...
1
vote
0answers
154 views

Powershell Direct to Hyper-V Win 10 VM from Jenkins

I have been trying to use Jenkins to automatically test VMs, which includes copying new code into the VM, or running certain commands from the host into the VM using Powershell Scripts. However, I've ...
0
votes
0answers
85 views

Maven surefire reporting isn't creating site folder

I have a test running currently that fails without assertions since we don't have access to the endpoint yet. I wish to have this documented in a report but I get this error: '/var/lib/jenkins/...
0
votes
0answers
87 views

How do I import latest jenkins docker image into openshift without networking issues?

The native jenkins image in openshift doesnt support lot of plugins and hence I want to make use of latest jenkins into openshift kubernetes platform. Any suggestions to get this done swiftly from ...
0
votes
1answer
168 views

Using Jekinsfile with “pipeline script from SCM” failed when using git fetch inside Jenkinsfile

I have a Jenkinsfile and inside of it there is a "git" command to fetch the sourcecode of my java service. also I created a job with "pipeline script from SCM" to fetch the jenkinsfile from git. ...
0
votes
0answers
122 views

Error deploying to IBM WebSphere Application Server: Could not determine if artifact (app Name) is installed: General Exception:

I'm trying to automate build (by Maven) and deploy (in WebSphere) by Jenkins. but I get Error deploying to IBM WebSphere Application Server: Could not determine if artifact (app Name) is installed: ...
0
votes
0answers
151 views

Jenkins mire file update-center.json at local repo getting 'SHA-512 digest mismatch'

I use 'wget -m' to mirror the latest Jenkins Plugins and update-center.json file to my local repo. My goal is to have URL point to my local repo so when I update Jenkins Plugins Manage Jenkins->Manage ...
0
votes
1answer
81 views

Openshift v3.10 jenkins pipeline tutorial won't build

I have an Openshift v3.10 5 node cluster up and running. I'm starting to look at configuring a Jenkins pipeline build configuration, so I started following the tutorial here: https://docs.openshift....
2
votes
1answer
539 views

Jenkins user cannot copy files to Apache /var/www folder - all permissions appropriate

Jenkins installed on Ubuntu 18.04 and running successfully. As part of our project build process, we need to copy built files to a specific folder under /var/www/html (Apache folder). Our build / ...
0
votes
1answer
97 views

jenkins-x - jx boot failing with 'Error creating bucket'

while running from local laptop jx boot, it creates buckets on GoogleCloud: .... .... The bucket gs://acmecluster1-logs-1ed782b2-db25-4631-bbf7-7a2178eec2a6 does not exist so lets create it The ...
0
votes
0answers
39 views

Unable to establish connection with my mail box using jenkins via poll mail box plugin

Getting below error while clicking on Test connection button. Getting connection timed out error and there are more errors still down Host:imap host address Username:username@***.com Passowrd:*** ...
0
votes
0answers
105 views

Jenkins is not able to reach anything over SSL

I just set up Jenkins on my VM. It's behind company proxy, so I set proxy settings. Test URL ends in Success when connecting to any website, but only over HTTP. When use HTTPS, I got for example ...
0
votes
0answers
85 views

Jenkins integration with Checkmarx

I have an issue when integration Jenkins with Checkmarx. Checkmarx version: 8.90.4 Jenkins version: 2.176.3 Have provided Checkmarx URL and credentials in Configure system, but when try to connect ...
0
votes
0answers
310 views

Run Jenkins job (on Windows) as non-admin

I am trying to run a Windows Jenkins job using the 'Execute Windows batch command". The job is to run a Python script that uses subprocess to repeatedly invoke a windows console executable. The exe ...
0
votes
0answers
34 views

Jenkins seemingly stops listening to the port 8080 on Ubuntu 16.04.4

I have installed and started jenkins successfully. The problem is that after working for a while, the web interface returns "refused to connect". After lsof -i -P -n | grep LISTEN, I don't see ...
0
votes
0answers
39 views

Change Jenkins job build result

I have parent jenkins job running which runs a couple of other child jobs. The parent job has dependency on the child jobs but they run in parallel. The problem is, even if one of the child job fails, ...
1
vote
0answers
218 views

Jenkins failing to send emails on build failures BUT sending emails in 'Test email recepient' in Configure System

Trying to configure Jenkins to send emails after builds. Had a previous issue with gmail authentication; the good folk on Stack Exchange helped be get the 'Test email recipient' in System ...
0
votes
0answers
7 views

How to automate ecom site without applying wait?

I want to automate ecomm application where after buying any product status of order is changed to New and after delivering product it become Delivered. But this joinery is undergoing through ...
0
votes
0answers
409 views

Jenkins build android exception error javax/xml/bind/JAXBException

when I use Jenkins to build android project this error comes out, I have google it, but so far do not get any useful solution. Anyone has the same error before knows how to deal with this error or ...

1
2 3 4 5
7