Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Is it possible to install Jenkins on Windows 10 Home?

I managed to overcome the error message as was described in this question https://stackoverflow.com/q/66230916/2875641 but yet, the Jenkins service cannot start. Us it possible to start it on Win 10 ...
0
votes
0answers
18 views

How to set up Jenkins build error levels for stable/unstable

I have a Jenkins job which consists of two main build steps. First step runs the tests and the second step reruns failed steps again. First step is set up as "Execute Windows batch command" ...
0
votes
0answers
11 views

How do I create a service account Jenkins

When installing Jenkins - Windows10 not domain joined - I get to a service configuration step, where in the past I would have either used my own interactive logon account to run the service under, or ...
1
vote
1answer
81 views

“This operation requires an interactive window station” error when launching GUI via jenkins on aws windows instance

I have a windows ec2 instance which runs a build server for a unity game, controlled by jenkins. When running unity with the -batchMode command, I can make the game build successfully. I'd like to run ...
0
votes
0answers
46 views

GitHub webhook can't connect to Jenkins inside VPN?

I am setting up continuous integration using Jenkins and GitHub Enterprise. So far I have been able to easily create Jenkins projects and run jobs regularly. Jenkins is using SSH public/private keys ...
1
vote
0answers
65 views

Jenkins Cucumber reports plugin error

I have working Jenkins 2.277 on Ubuntu 20.04. Then I have Cucumber reports plugin 5.5 installed. Configuration looks like on the picture. As I run the test I am getting an error in the console log: ...
1
vote
1answer
118 views

Jenkins config file for Global Security - Security Realm - Jenkins’ own user database

I need to find out where Jenkins stores its configuration data. Especially Global Security - Security Realm I tried to search var/lib/jenkins folder but without any success. Is there config file with ...
0
votes
0answers
17 views

Jenkins: Partial SVN externals checkout

I am trying to checkout only a few subdirs of some svn externs like so: stages { stage('Checkout') { steps { checkout([ $class: '...
0
votes
0answers
13 views

Jenkins does not send email attachments

I have a Jenkins job. It send me an email on fail so email is working. But as I want to send an attachment files which are png screenshots they are not send within the email. It should be set in Email ...
1
vote
1answer
40 views

Jenkins how to set httpListenAddress

I need to hide Jenkins behind the Apache proxy because Jenkins does not run on https. So I started with this article where is warning Make sure that you change the Jenkins httpListenAddress from its ...
2
votes
1answer
31 views

Jenkins SSH Host/User Certificates workflow

How to setup SSH key signing process every time some Ansible stage runs? Or at some interval at least. I have pipeline which creates VM's with the Terraform and then runs Ansible. At cloud-init stage ...
0
votes
0answers
36 views

Serving the react build with pm2 from jenkins

I'm using Jenkins as a CD tool for my react project, I have defined the steps in execute shell. I'm running my Jenkins from the EC2 instance. Now, each of the commands listed runs smoothly but the pm2 ...
2
votes
1answer
46 views

Jenkinsfile pipeline for running vagrant up

I am encountering a strange issue, when i run vagrant up, the virtual machine builds up fine and works as intended, but when I run the same command in a Jenkinsfile pipeline, after the build is ...
0
votes
0answers
119 views

How to Run Jenkins Stage with parameterizedCron and NOT have it run one after the other

I am new to this plugin but the issue I have with the builds are kicking off but I only want the One stage to run at 9.00 am and the other to run at 6.00pm right now 9.00am runs followed by the 6.00pm ...
0
votes
1answer
94 views

GPG error The following signatures couldn't be verified because the public key is not available

I'm following this guide for the installation of Docker inside a Jenkins container This is the Dockerfile of the Jenkins container: FROM jenkins:1.596 USER root RUN apt-get update RUN echo "...
0
votes
1answer
695 views

How to solve Error: docker: Error response from daemon: the working directory is invalid

I am just starting to use Jenkins and Docker in Windows10. Currently I have installed both Jenkins and Docker and created a Dockerfile and a Jenkinsfile Unfortunately whenever I try to build in ...
0
votes
0answers
117 views

Jenkins pod stuck at pod initialize in kubernetes

I am following Jenkins tutorial (https://www.jenkins.io/doc/book/installing/kubernetes/) to deploy jenkins to kubernetes for CI/CD work as we are planning to use jenkins for CI/CD. But the pod fails ...
-1
votes
1answer
43 views

error in running ansible-playbook with jenkins

--i have a ansible playbook in ubuntu user and i am able to push this playbook in the remote user -- now i have install jenkins in this ubuntu(EC2 instance) server , and i have given jenkins all ...
0
votes
2answers
81 views

How to let jenkins manage availability of windows ec2 node?

I have a jenkins ubuntu server and several windows nodes running on ec2. I'd like for the server to turn the windows boxes on and off as they're needed. I think that means using the "launch ...
0
votes
0answers
35 views

jenkins utilizing high load average of CPU with 0 current running build

I am running a Jenkins Server (version 2.232) at Centos 7 Server (16Gb RAM and 10 CPU cores) Sometimes, My Jenkins server even when it is idle it is using high load average CPU, the web page become ...
0
votes
1answer
19 views

How to figure out jenkins pipeline command from plugin source?

The unity3d jenkins plugin https://plugins.jenkins.io/unity3d-plugin/#documentation is quite old. It hasn't been updated since 2015! I'd like to use it in a pipeline script, but the documentation ...
0
votes
0answers
9 views

Create double route within nginx

How to create two different routes in nginx with SSL CA? Whenever I call /app-name, I get a 404 error! My goal is to call <ip>/jenkins and be redirected to the jenkins front-end that is running ...
0
votes
0answers
175 views

not able to execute “sh” comands in Jenkins pipeline

WHen i tried executing "sh" commands in the Jenkins Pipeline, i face the below error, [Checks API] No suitable checks publisher found. java.io.IOException: CreateProcess error=2, The system ...
0
votes
0answers
21 views

Fix the directory permissions for jenkins and wordpress

I have a wordpress site set up and a jenkins job to deploy the code to the wordpress site. The wordpress site directory needs the permission of the user www-data for adding new uploads and plugins and ...
0
votes
1answer
61 views

Jenkins stops responding after trying to run a job

I'm currently trying to repair a Jenkins installation, something I've never done before, and am having trouble. I've gotten to the point where I can view all of the jobs and run a build. However, most ...
0
votes
0answers
18 views

How to fix Bitbucket's webhook payload when an access key is used?

I'm using a Bitbucket webhook to trigger Jenkins jobs, but the problem is that whenever I make a commit using an access key the payload contains actor { "displayName":"Access Key ...
0
votes
0answers
88 views

Jenkins pipeline only run 1 stage for rollback if replay or rerun

I have a Jenkinsfile like the one below to do git pull automatically: pipeline { agent any } stages { stage("Code Checkout") { steps { ...
0
votes
0answers
24 views

Jenkins job creating build files owned by root

I have a problem with a jenkins job that is creating build files owned by root with permissions 755. Later when another job attempts to clean the workspace it will fail due to permissions error. I am ...
0
votes
0answers
5 views

Jenkinfile in only master branch and want to recognise their branches too

In Jenkins GitHub organization project would like to use jenkinfile only in master branches and on getting trigger to the other branches want to fetch the pipeline from master branch
0
votes
1answer
119 views

How to list file entries based on first dropdown in Jenkins

I would like to make two dropdowns in Jenkins where I can choose files at the first dropdown from a directory and the second dropdown should change based on the first dropdown (where the file has been ...
0
votes
0answers
54 views

How to debug when Jenkins Blue Ocean stucked during loading?

I've installed Jenkins on my VM and installed Blue Ocean plugin: But after I clicked "Open Blue Ocean", the page simply stuck (for at least 10 minutes) without showing any error: How can I ...
0
votes
1answer
43 views

Jenkins Schedule build

Getting little confusing with the Jenkins build scheduling. I want to schedule a build that will run at first day of the month, every 6 months. As for now i have this H H 1 * * But I'm not sure it's ...
0
votes
1answer
105 views

Can't SSH to server using Private Key [duplicate]

I am trying to login to my server using SSH using private key file. I am using below command to SSH ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/root/.ssh/id_rsa&...
2
votes
1answer
171 views

Jenkins pipeline calls git.exe on non-windows node

I have a master set up on Windows machine. I have a few nodes on Jenkins, one of which has 2 labels: "system project". This node is actually a plain Solaris 11.3 machine. Other nodes are plain ...
0
votes
0answers
60 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
85 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
2answers
132 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
1answer
185 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
1answer
405 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
92 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
44 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
2k 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
1k 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
215 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
555 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
1answer
56 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
398 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
1answer
153 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
392 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
45 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 ...

1
2 3 4 5 6